Awooslayer699

Untitled

Feb 23rd, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.42 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
  141.  
  142. -- Synapse Decompiler
  143. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  144.  
  145. wait(0.2)
  146. Player = game:GetService("Players").LocalPlayer
  147. PlayerGui = Player.PlayerGui
  148. Cam = workspace.CurrentCamera
  149. Backpack = Player.Backpack
  150. Character = Player.Character
  151. Humanoid = Character.Humanoid
  152. Mouse = Player:GetMouse()
  153. RootPart = Character.HumanoidRootPart
  154. Torso = Character.Torso
  155. Head = Character.Head
  156. RightArm = Character["Right Arm"]
  157. LeftArm = Character["Left Arm"]
  158. RightLeg = Character["Right Leg"]
  159. LeftLeg = Character["Left Leg"]
  160. RootJoint = RootPart.RootJoint
  161. Neck = Torso.Neck
  162. RightShoulder = Torso["Right Shoulder"]
  163. LeftShoulder = Torso["Left Shoulder"]
  164. RightHip = Torso["Right Hip"]
  165. LeftHip = Torso["Left Hip"]
  166. local sick = Instance.new("Sound", Torso)
  167. sick.SoundId = "rbxassetid://142306659"
  168. sick.Looped = true
  169. sick.Pitch = 1
  170. sick.Volume = 3
  171. IT = Instance.new
  172. CF = CFrame.new
  173. VT = Vector3.new
  174. RAD = math.rad
  175. C3 = Color3.new
  176. UD2 = UDim2.new
  177. BRICKC = BrickColor.new
  178. ANGLES = CFrame.Angles
  179. EULER = CFrame.fromEulerAnglesXYZ
  180. COS = math.cos
  181. ACOS = math.acos
  182. SIN = math.sin
  183. ASIN = math.asin
  184. ABS = math.abs
  185. MRANDOM = math.random
  186. FLOOR = math.floor
  187. Animation_Speed = 3
  188. Frame_Speed = 0.016666666666666666
  189. local Speed = 16
  190. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  191. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  192. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  193. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  194. local DAMAGEMULTIPLIER = 1
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local Rooted = false
  201. local SINE = 0
  202. local KEYHOLD = false
  203. local CHANGE = 2 / Animation_Speed
  204. local WALKINGANIM = false
  205. local VALUE1 = false
  206. local VALUE2 = false
  207. local ROBLOXIDLEANIMATION = IT("Animation")
  208. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  209. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  210. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  211. WEAPONGUI.Name = "Weapon GUI"
  212. local Weapon = IT("Model")
  213. Weapon.Name = "Adds"
  214. local Effects = IT("Folder", Weapon)
  215. Effects.Name = "Effects"
  216. local ANIMATOR = Humanoid.Animator
  217. local ANIMATE = Character.Animate
  218. local UNANCHOR = true
  219. local RWINGS = {}
  220. local LWINGS = {}
  221. local EYE, PUPIL
  222. local BLINKLOOP = 0
  223. local FINISHEDINTRO = false
  224. local INTROING = false
  225. local INSTANT = false
  226. local EYES = {}
  227. ArtificialHB = Instance.new("BindableEvent", script)
  228. ArtificialHB.Name = "ArtificialHB"
  229. script:WaitForChild("ArtificialHB")
  230. frame = Frame_Speed
  231. tf = 0
  232. allowframeloss = false
  233. tossremainder = false
  234. lastframe = tick()
  235. script.ArtificialHB:Fire()
  236. game:GetService("RunService").Heartbeat:connect(function(s, p)
  237. tf = tf + s
  238. if tf >= frame then
  239. if allowframeloss then
  240. script.ArtificialHB:Fire()
  241. lastframe = tick()
  242. else
  243. for i = 1, math.floor(tf / frame) do
  244. script.ArtificialHB:Fire()
  245. end
  246. lastframe = tick()
  247. end
  248. if tossremainder then
  249. tf = 0
  250. else
  251. tf = tf - frame * math.floor(tf / frame)
  252. end
  253. end
  254. end)
  255. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  256. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  257. end
  258. function PositiveAngle(NUMBER)
  259. if NUMBER >= 0 then
  260. NUMBER = 0
  261. end
  262. return NUMBER
  263. end
  264. function NegativeAngle(NUMBER)
  265. if NUMBER <= 0 then
  266. NUMBER = 0
  267. end
  268. return NUMBER
  269. end
  270. function Swait(NUMBER)
  271. if NUMBER == 0 or NUMBER == nil then
  272. ArtificialHB.Event:wait()
  273. else
  274. for i = 1, NUMBER do
  275. ArtificialHB.Event:wait()
  276. end
  277. end
  278. end
  279. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  280. local NEWMESH = IT(MESH)
  281. if MESH == "SpecialMesh" then
  282. NEWMESH.MeshType = MESHTYPE
  283. if MESHID ~= "nil" and MESHID ~= "" then
  284. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  285. end
  286. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  287. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  288. end
  289. end
  290. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  291. NEWMESH.Scale = SCALE
  292. NEWMESH.Parent = PARENT
  293. return NEWMESH
  294. end
  295. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  296. local NEWPART = IT("Part")
  297. NEWPART.formFactor = FORMFACTOR
  298. NEWPART.Reflectance = REFLECTANCE
  299. NEWPART.Transparency = TRANSPARENCY
  300. NEWPART.CanCollide = false
  301. NEWPART.Locked = true
  302. NEWPART.Anchored = true
  303. if ANCHOR == false then
  304. NEWPART.Anchored = false
  305. end
  306. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  307. NEWPART.Name = NAME
  308. NEWPART.Size = SIZE
  309. NEWPART.Position = Torso.Position
  310. NEWPART.Material = MATERIAL
  311. NEWPART:BreakJoints()
  312. NEWPART.Parent = PARENT
  313. return NEWPART
  314. end
  315. local weldBetween = function(a, b)
  316. local weldd = Instance.new("ManualWeld")
  317. weldd.Part0 = a
  318. weldd.Part1 = b
  319. weldd.C0 = CFrame.new()
  320. weldd.C1 = b.CFrame:inverse() * a.CFrame
  321. weldd.Parent = a
  322. return weldd
  323. end
  324. function QuaternionFromCFrame(cf)
  325. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  326. local trace = m00 + m11 + m22
  327. if trace > 0 then
  328. local s = math.sqrt(1 + trace)
  329. local recip = 0.5 / s
  330. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  331. else
  332. local i = 0
  333. if m00 < m11 then
  334. i = 1
  335. end
  336. if m22 > (i == 0 and m00 or m11) then
  337. i = 2
  338. end
  339. if i == 0 then
  340. local s = math.sqrt(m00 - m11 - m22 + 1)
  341. local recip = 0.5 / s
  342. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  343. elseif i == 1 then
  344. local s = math.sqrt(m11 - m22 - m00 + 1)
  345. local recip = 0.5 / s
  346. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  347. elseif i == 2 then
  348. local s = math.sqrt(m22 - m00 - m11 + 1)
  349. local recip = 0.5 / s
  350. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  351. end
  352. end
  353. end
  354. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  355. local xs, ys, zs = x + x, y + y, z + z
  356. local wx, wy, wz = w * xs, w * ys, w * zs
  357. local xx = x * xs
  358. local xy = x * ys
  359. local xz = x * zs
  360. local yy = y * ys
  361. local yz = y * zs
  362. local zz = z * zs
  363. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  364. end
  365. function QuaternionSlerp(a, b, t)
  366. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  367. local startInterp, finishInterp
  368. if cosTheta >= 1.0E-4 then
  369. if 1 - cosTheta > 1.0E-4 then
  370. local theta = ACOS(cosTheta)
  371. local invSinTheta = 1 / SIN(theta)
  372. startInterp = SIN((1 - t) * theta) * invSinTheta
  373. finishInterp = SIN(t * theta) * invSinTheta
  374. else
  375. startInterp = 1 - t
  376. finishInterp = t
  377. end
  378. elseif 1 + cosTheta > 1.0E-4 then
  379. local theta = ACOS(-cosTheta)
  380. local invSinTheta = 1 / SIN(theta)
  381. startInterp = SIN((t - 1) * theta) * invSinTheta
  382. finishInterp = SIN(t * theta) * invSinTheta
  383. else
  384. startInterp = t - 1
  385. finishInterp = t
  386. end
  387. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  388. end
  389. function Clerp(a, b, t)
  390. local qa = {
  391. QuaternionFromCFrame(a)
  392. }
  393. local qb = {
  394. QuaternionFromCFrame(b)
  395. }
  396. local ax, ay, az = a.x, a.y, a.z
  397. local bx, by, bz = b.x, b.y, b.z
  398. local _t = 1 - t
  399. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  400. end
  401. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  402. local frame = IT("Frame")
  403. frame.BackgroundTransparency = TRANSPARENCY
  404. frame.BorderSizePixel = BORDERSIZEPIXEL
  405. frame.Position = POSITION
  406. frame.Size = SIZE
  407. frame.BackgroundColor3 = COLOR
  408. frame.BorderColor3 = BORDERCOLOR
  409. frame.Name = NAME
  410. frame.Parent = PARENT
  411. return frame
  412. end
  413. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  414. local label = IT("TextLabel")
  415. label.BackgroundTransparency = 1
  416. label.Size = UD2(1, 0, 1, 0)
  417. label.Position = UD2(0, 0, 0, 0)
  418. label.TextColor3 = TEXTCOLOR
  419. label.TextStrokeTransparency = STROKETRANSPARENCY
  420. label.TextTransparency = TRANSPARENCY
  421. label.FontSize = TEXTFONTSIZE
  422. label.Font = TEXTFONT
  423. label.BorderSizePixel = BORDERSIZEPIXEL
  424. label.TextScaled = false
  425. label.Text = TEXT
  426. label.Name = NAME
  427. label.Parent = PARENT
  428. return label
  429. end
  430. function NoOutlines(PART)
  431. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  432. end
  433. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  434. local NEWWELD = IT(TYPE)
  435. NEWWELD.Part0 = PART0
  436. NEWWELD.Part1 = PART1
  437. NEWWELD.C0 = C0
  438. NEWWELD.C1 = C1
  439. NEWWELD.Parent = PARENT
  440. return NEWWELD
  441. end
  442. local S = IT("Sound")
  443. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  444. local NEWSOUND
  445. coroutine.resume(coroutine.create(function()
  446. NEWSOUND = S:Clone()
  447. NEWSOUND.Parent = PARENT
  448. NEWSOUND.Volume = VOLUME
  449. NEWSOUND.Pitch = PITCH
  450. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  451. NEWSOUND:play()
  452. if DOESLOOP == true then
  453. NEWSOUND.Looped = true
  454. else
  455. repeat
  456. Swait()
  457. until NEWSOUND.Playing == false
  458. NEWSOUND:remove()
  459. end
  460. end))
  461. return NEWSOUND
  462. end
  463. function CFrameFromTopBack(at, top, back)
  464. local right = top:Cross(back)
  465. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  466. end
  467. function WACKYEFFECT(Table)
  468. local TYPE = Table.EffectType or "Sphere"
  469. local SIZE = Table.Size or VT(1, 1, 1)
  470. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  471. local TRANSPARENCY = Table.Transparency or 0
  472. local ENDTRANSPARENCY = Table.Transparency2 or 1
  473. local CFRAME = Table.CFrame or Torso.CFrame
  474. local MOVEDIRECTION = Table.MoveToPos or nil
  475. local ROTATION1 = Table.RotationX or 0
  476. local ROTATION2 = Table.RotationY or 0
  477. local ROTATION3 = Table.RotationZ or 0
  478. local MATERIAL = Table.Material or "Neon"
  479. local COLOR = Table.Color or C3(1, 1, 1)
  480. local TIME = Table.Time or 45
  481. local SOUNDID = Table.SoundID or nil
  482. local SOUNDPITCH = Table.SoundPitch or nil
  483. local SOUNDVOLUME = Table.SoundVolume or nil
  484. coroutine.resume(coroutine.create(function()
  485. local PLAYSSOUND = false
  486. local SOUND
  487. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  488. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  489. PLAYSSOUND = true
  490. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  491. end
  492. EFFECT.Color = COLOR
  493. local MSH
  494. if TYPE == "Sphere" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  496. elseif TYPE == "Block" then
  497. MSH = IT("BlockMesh", EFFECT)
  498. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  499. elseif TYPE == "Wave" then
  500. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  501. elseif TYPE == "Ring" then
  502. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  503. elseif TYPE == "Slash" then
  504. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  505. elseif TYPE == "Round Slash" then
  506. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  507. elseif TYPE == "Swirl" then
  508. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  509. elseif TYPE == "Skull" then
  510. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  511. elseif TYPE == "Crystal" then
  512. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  513. end
  514. if MSH ~= nil then
  515. local MOVESPEED
  516. if MOVEDIRECTION ~= nil then
  517. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  518. end
  519. local GROWTH = SIZE - ENDSIZE
  520. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  521. if TYPE == "Block" then
  522. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  523. else
  524. EFFECT.CFrame = CFRAME
  525. end
  526. for LOOP = 1, TIME do
  527. Swait()
  528. MSH.Scale = MSH.Scale - GROWTH / TIME
  529. if TYPE == "Wave" then
  530. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  531. end
  532. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  533. if TYPE == "Block" then
  534. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  535. else
  536. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  537. end
  538. if MOVEDIRECTION ~= nil then
  539. local ORI = EFFECT.Orientation
  540. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  541. EFFECT.Orientation = ORI
  542. end
  543. end
  544. if PLAYSSOUND == false then
  545. EFFECT:remove()
  546. else
  547. repeat
  548. Swait()
  549. until SOUND.Playing == false
  550. EFFECT:remove()
  551. end
  552. elseif PLAYSSOUND == false then
  553. EFFECT:remove()
  554. else
  555. repeat
  556. Swait()
  557. until SOUND.Playing == false
  558. EFFECT:remove()
  559. end
  560. end))
  561. end
  562. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  563. if FLOOR ~= nil then
  564. coroutine.resume(coroutine.create(function()
  565. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  566. PART.CFrame = CF(POSITION)
  567. for i = 1, 45 do
  568. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  569. RingPiece.Material = FLOOR.Material
  570. RingPiece.Color = FLOOR.Color
  571. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  572. Debris:AddItem(RingPiece, SWAIT)
  573. end
  574. PART:remove()
  575. end))
  576. end
  577. end
  578. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  579. if FLOOR ~= nil then
  580. for i = 1, AMOUNT do
  581. do
  582. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  583. DEBREE.Material = FLOOR.Material
  584. DEBREE.Color = FLOOR.Color
  585. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  586. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  587. coroutine.resume(coroutine.create(function()
  588. Swait(15)
  589. DEBREE.Parent = workspace
  590. DEBREE.CanCollide = true
  591. Debris:AddItem(DEBREE, SWAIT)
  592. end))
  593. end
  594. end
  595. end
  596. end
  597. function MakeForm(PART, TYPE)
  598. if TYPE == "Cyl" then
  599. local MSH = IT("CylinderMesh", PART)
  600. elseif TYPE == "Ball" then
  601. local MSH = IT("SpecialMesh", PART)
  602. MSH.MeshType = "Sphere"
  603. elseif TYPE == "Wedge" then
  604. local MSH = IT("SpecialMesh", PART)
  605. MSH.MeshType = "Wedge"
  606. end
  607. end
  608. function CheckTableForString(Table, String)
  609. for i, v in pairs(Table) do
  610. if string.find(string.lower(String), string.lower(v)) then
  611. return true
  612. end
  613. end
  614. return false
  615. end
  616. function CheckIntangible(Hit)
  617. local ProjectileNames = {
  618. "Water",
  619. "Arrow",
  620. "Projectile",
  621. "Effect",
  622. "Rail",
  623. "Lightning",
  624. "Bullet"
  625. }
  626. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  627. return true
  628. end
  629. return false
  630. end
  631. Debris = game:GetService("Debris")
  632. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  633. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  634. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  635. if RayHit and CheckIntangible(RayHit) then
  636. if DelayIfHit then
  637. wait()
  638. end
  639. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  640. end
  641. return RayHit, RayPos, RayNormal
  642. end
  643. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  644. local DIRECTION = CF(StartPos, EndPos).lookVector
  645. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  646. end
  647. function turnto(position)
  648. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  649. end
  650. BaseLightning = IT("Part")
  651. BaseLightning.Anchored = true
  652. BaseLightning.CanCollide = false
  653. BaseLightning.Material = "Neon"
  654. local LightningBolts = {}
  655. function Zap(Table)
  656. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  657. local Duration = Table.Duration or 2
  658. local Offset = Table.Offset or 2
  659. local Individualize = Table.Individualize or false
  660. local MaxRange = Table.MaxRange or 200
  661. local SegmentLength = Table.SegmentLength or 5
  662. local Transparency = Table.Transparency or 0
  663. local Ignore = Table.Ignore or {}
  664. local SIZE = Table.SIZE or 0.3
  665. if not (StartPos and TargetPos) or not Character then
  666. return
  667. end
  668. local LightningModel = IT("Folder", Effects)
  669. LightningModel.Name = "ZAPP"
  670. for i, v in pairs({Character, LightningModel}) do
  671. table.insert(Ignore, v)
  672. end
  673. local LastPos = StartPos
  674. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  675. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  676. local RayLength = (StartPos - RayPos).Magnitude
  677. local Struck = false
  678. local TotalSegments = math.ceil(RayLength / SegmentLength)
  679. Direction = CFrame.new(StartPos, RayPos).lookVector
  680. local LightningBolt = IT("Model", Effects)
  681. LightningBolt.Name = "Lightning"
  682. LastBolt = LightningBolt
  683. Debris:AddItem(LightningBolt, Duration)
  684. LightningBolt.Parent = LightningModel
  685. for i = 1, TotalSegments do
  686. if not Struck then
  687. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  688. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  689. local SegmentVec = NewPos - LastPos
  690. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  691. local RayVec = LastPos - RayPos
  692. local LightningPart = BaseLightning:Clone()
  693. LightningPart.BrickColor = BrickColor.new(Color)
  694. LightningPart.Transparency = Transparency
  695. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  696. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  697. local CylinderMesh = IT("CylinderMesh", LightningPart)
  698. local OrigCF = LightningPart.CFrame
  699. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  700. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  701. LightningPart.Parent = LightningBolt
  702. LastPos = NewPos
  703. end
  704. end
  705. return {
  706. RayHit = RayHit,
  707. RayPos = RayPos,
  708. RayNormal = RayNormal,
  709. LightningModel = LightningModel
  710. }
  711. end
  712. function Blink()
  713. coroutine.resume(coroutine.create(function()
  714. if EYE ~= nil and PUPIL ~= nil then
  715. for i = 1, 5 do
  716. Swait()
  717. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0, 0.2, 0)
  718. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale - VT(0, 0.2, 0)
  719. end
  720. for i = 1, 7 do
  721. Swait()
  722. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0, 0.2, 0)
  723. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale + VT(0, 0.2, 0)
  724. end
  725. EYE.Mesh.Scale = VT(1, 1, 1)
  726. PUPIL.Mesh.Scale = VT(1, 1, 1)
  727. end
  728. end))
  729. end
  730. local BODY = {}
  731. function Face()
  732. local FACE = CreatePart(3, Weapon, "Fabric", 0, 0, "Dark stone grey", "Face", VT(1.01, 0.725, 1.01), false)
  733. FACE.Color = C3(0, 0, 0)
  734. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  735. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.225, 0), CF(0, 0, 0))
  736. EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15, 0.3, 0.15), false)
  737. MakeForm(EYE, "Ball")
  738. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15, 0.26, -0.55), CF(0, 0, 0))
  739. PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  740. PUPIL.Color = C3(0, 0, 0)
  741. MakeForm(PUPIL, "Ball")
  742. CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.15, 0.26, -0.6), CF(0, 0, 0))
  743. local LASTPART = Head
  744. for i = 1, 30 do
  745. local MATH = 1 - i / 40
  746. if LASTPART == Head then
  747. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  748. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0))
  749. LASTPART = Horn
  750. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  751. else
  752. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  753. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0))
  754. LASTPART = Horn
  755. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  756. end
  757. end
  758. local LASTPART = Head
  759. for i = 1, 30 do
  760. local MATH = 1 - i / 40
  761. if LASTPART == Head then
  762. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  763. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0))
  764. LASTPART = Horn
  765. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  766. else
  767. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  768. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0))
  769. LASTPART = Horn
  770. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  771. end
  772. end
  773. BODY = {}
  774. for _, c in pairs(Character:GetDescendants()) do
  775. if c:IsA("BasePart") then
  776. table.insert(BODY, {
  777. c,
  778. c.Parent,
  779. c.Material,
  780. c.Color
  781. })
  782. elseif c:IsA("JointInstance") then
  783. table.insert(BODY, {
  784. c,
  785. c.Parent,
  786. nil,
  787. nil
  788. })
  789. end
  790. end
  791. end
  792. function RightWing()
  793. for i = 1, 2 do
  794. local PART
  795. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  796. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  797. table.insert(RWINGS, WingWeld)
  798. PART = Wing
  799. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  800. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  801. PART = Wing
  802. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  803. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  804. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  805. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  806. PART = Wing
  807. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  808. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  809. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  810. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  811. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  812. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  813. PART = Wing
  814. table.insert(RWINGS, WingWeld)
  815. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  816. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  817. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  818. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  819. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  820. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  821. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  822. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  823. PART = Wing
  824. table.insert(RWINGS, WingWeld)
  825. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  826. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  827. PART = Wing
  828. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  829. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  830. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  831. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  832. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  833. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  834. PART = Wing
  835. table.insert(RWINGS, WingWeld)
  836. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  837. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  838. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  839. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  840. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  841. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  842. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  843. table.insert(EYES, Wing1)
  844. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  845. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  846. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  847. PART = Wing
  848. table.insert(RWINGS, WingWeld)
  849. end
  850. BODY = {}
  851. for _, c in pairs(Character:GetDescendants()) do
  852. if c:IsA("BasePart") then
  853. table.insert(BODY, {
  854. c,
  855. c.Parent,
  856. c.Material,
  857. c.Color
  858. })
  859. elseif c:IsA("JointInstance") then
  860. table.insert(BODY, {
  861. c,
  862. c.Parent,
  863. nil,
  864. nil
  865. })
  866. end
  867. end
  868. end
  869. function LeftWing()
  870. for i = 1, 2 do
  871. local PART
  872. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  873. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  874. table.insert(LWINGS, WingWeld)
  875. PART = Wing
  876. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  877. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  878. PART = Wing
  879. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  880. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  881. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  882. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  883. PART = Wing
  884. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  885. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  886. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  887. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  888. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  889. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  890. PART = Wing
  891. table.insert(LWINGS, WingWeld)
  892. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  893. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  894. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  895. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  896. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  897. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  898. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  899. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  900. PART = Wing
  901. table.insert(LWINGS, WingWeld)
  902. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  903. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  904. PART = Wing
  905. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  906. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  907. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  908. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  909. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  910. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  911. PART = Wing
  912. table.insert(LWINGS, WingWeld)
  913. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  914. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  915. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  916. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  917. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  918. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  919. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  920. table.insert(EYES, Wing1)
  921. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  922. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  923. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  924. PART = Wing
  925. table.insert(LWINGS, WingWeld)
  926. end
  927. BODY = {}
  928. for _, c in pairs(Character:GetDescendants()) do
  929. if c:IsA("BasePart") then
  930. table.insert(BODY, {
  931. c,
  932. c.Parent,
  933. c.Material,
  934. c.Color
  935. })
  936. elseif c:IsA("JointInstance") then
  937. table.insert(BODY, {
  938. c,
  939. c.Parent,
  940. nil,
  941. nil
  942. })
  943. end
  944. end
  945. end
  946. for _, c in pairs(Weapon:GetChildren()) do
  947. if c.ClassName == "Part" then
  948. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  949. end
  950. end
  951. for _, c in pairs(Character:GetDescendants()) do
  952. if c:IsA("BasePart") then
  953. table.insert(BODY, {
  954. c,
  955. c.Parent,
  956. c.Material,
  957. c.Color
  958. })
  959. elseif c:IsA("JointInstance") then
  960. table.insert(BODY, {
  961. c,
  962. c.Parent,
  963. nil,
  964. nil
  965. })
  966. end
  967. end
  968. for e = 1, #BODY do
  969. if BODY[e] ~= nil then
  970. do
  971. local STUFF = BODY[e]
  972. local PART = STUFF[1]
  973. local PARENT = STUFF[2]
  974. local MATERIAL = STUFF[3]
  975. local COLOR = STUFF[4]
  976. PART.AncestryChanged:Connect(function()
  977. if PART.ClassName == "Part" then
  978. PART.Material = MATERIAL
  979. PART.Color = COLOR
  980. end
  981. PART.Parent = PARENT
  982. end)
  983. end
  984. end
  985. end
  986. function refit()
  987. Weapon.Parent = Character
  988. Character.Parent = workspace
  989. for e = 1, #BODY do
  990. if BODY[e] ~= nil then
  991. local STUFF = BODY[e]
  992. local PART = STUFF[1]
  993. local PARENT = STUFF[2]
  994. local MATERIAL = STUFF[3]
  995. local COLOR = STUFF[4]
  996. if PART.Parent ~= PARENT then
  997. Humanoid:remove()
  998. if PART.ClassName == "Part" then
  999. PART.Material = MATERIAL
  1000. PART.Color = COLOR
  1001. end
  1002. PART.Parent = PARENT
  1003. Humanoid = IT("Humanoid", Character)
  1004. end
  1005. end
  1006. end
  1007. end
  1008. local SKILLTEXTCOLOR = C3(0, 0, 0)
  1009. local SKILLFONT = "SciFi"
  1010. local SKILLTEXTSIZE = 7
  1011. Weapon.Parent = Character
  1012. Humanoid.Died:connect(function()
  1013. refit()
  1014. end)
  1015. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  1016. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  1017. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  1018. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Neck Snap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1019. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1020. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire At Will", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1021. function StatLabel(CFRAME, TEXT, COLOR)
  1022. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1023. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  1024. local BODYGYRO = IT("BodyGyro", STATPART)
  1025. game:GetService("Debris"):AddItem(STATPART, 5)
  1026. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1027. BILLBOARDGUI.Adornee = STATPART
  1028. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  1029. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1030. BILLBOARDGUI.AlwaysOnTop = false
  1031. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1032. TEXTLABEL.BackgroundTransparency = 1
  1033. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1034. TEXTLABEL.Text = TEXT
  1035. TEXTLABEL.Font = SKILLFONT
  1036. TEXTLABEL.FontSize = "Size42"
  1037. TEXTLABEL.TextColor3 = COLOR
  1038. TEXTLABEL.TextStrokeTransparency = 0
  1039. TEXTLABEL.TextScaled = true
  1040. TEXTLABEL.TextWrapped = true
  1041. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1042. for i = 1, 50 do
  1043. Swait()
  1044. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  1045. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  1046. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1047. end
  1048. THEPART.Parent = nil
  1049. end), STATPART, TEXTLABEL)
  1050. end
  1051. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1052. local svch = Character2
  1053. Character2:BreakJoints()
  1054. local hum = Character2:findFirstChild("Humanoid")
  1055. local q = Character2:GetChildren()
  1056. local CLONE = IT("Model", Effects)
  1057. for i = 1, #q do
  1058. if q[i].ClassName == "Accessory" and Headless == true then
  1059. q[i]:remove()
  1060. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1061. q[i].Parent = CLONE
  1062. elseif q[i].ClassName ~= "Humanoid" then
  1063. q[i]:remove()
  1064. end
  1065. end
  1066. local chrclone = CLONE
  1067. local ch = chrclone:GetChildren()
  1068. local i
  1069. for i = 1, #ch do
  1070. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1071. ch[i]:remove()
  1072. end
  1073. end
  1074. local function Scan(ch)
  1075. local e
  1076. for e = 1, #ch do
  1077. Scan(ch[e]:GetChildren())
  1078. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1079. ch[e]:remove()
  1080. end
  1081. end
  1082. end
  1083. Character2:remove()
  1084. local NEWHUM = IT("Humanoid")
  1085. NEWHUM.Name = "Corpse"
  1086. NEWHUM.Health = 0
  1087. NEWHUM.MaxHealth = 0
  1088. NEWHUM.PlatformStand = true
  1089. NEWHUM.Parent = CLONE
  1090. NEWHUM.DisplayDistanceType = "None"
  1091. Scan(chrclone:GetChildren())
  1092. local ch = Character2:GetChildren()
  1093. local i
  1094. for i = 1, #ch do
  1095. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1096. ch[i]:remove()
  1097. end
  1098. end
  1099. local ch = Character2:GetChildren()
  1100. local i
  1101. for i = 1, #ch do
  1102. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1103. ch[i]:remove()
  1104. end
  1105. end
  1106. Character2 = chrclone
  1107. local Torso2 = Character2.Torso
  1108. local movevector = Vector3.new()
  1109. if Torso2 then
  1110. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1111. local Head = Character2:FindFirstChild("Head")
  1112. if Head then
  1113. local Neck = Instance.new("Weld")
  1114. Neck.Name = "Neck"
  1115. Neck.Part0 = Torso2
  1116. Neck.Part1 = Head
  1117. Neck.C0 = CFrame.new(0, 1.5, 0)
  1118. Neck.C1 = CFrame.new()
  1119. Neck.Parent = Torso2
  1120. if Headless == true then
  1121. Head.Transparency = 1
  1122. Head:ClearAllChildren()
  1123. end
  1124. end
  1125. local Limb = Character2:FindFirstChild("Right Arm")
  1126. if Limb then
  1127. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1128. local Joint = Instance.new("Glue")
  1129. Joint.Name = "RightShoulder"
  1130. Joint.Part0 = Torso2
  1131. Joint.Part1 = Limb
  1132. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1133. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1134. Joint.Parent = Torso2
  1135. local B = Instance.new("Part")
  1136. B.TopSurface = 0
  1137. B.BottomSurface = 0
  1138. B.formFactor = "Symmetric"
  1139. B.Size = Vector3.new(1, 1, 1)
  1140. B.Transparency = 1
  1141. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1142. B.Parent = Character2
  1143. local W = Instance.new("Weld")
  1144. W.Part0 = Limb
  1145. W.Part1 = B
  1146. W.C0 = CFrame.new(0, -0.5, 0)
  1147. W.Parent = Limb
  1148. end
  1149. local Limb = Character2:FindFirstChild("Left Arm")
  1150. if Limb then
  1151. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1152. local Joint = Instance.new("Glue")
  1153. Joint.Name = "LeftShoulder"
  1154. Joint.Part0 = Torso2
  1155. Joint.Part1 = Limb
  1156. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1157. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1158. Joint.Parent = Torso2
  1159. local B = Instance.new("Part")
  1160. B.TopSurface = 0
  1161. B.BottomSurface = 0
  1162. B.formFactor = "Symmetric"
  1163. B.Size = Vector3.new(1, 1, 1)
  1164. B.Transparency = 1
  1165. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1166. B.Parent = Character2
  1167. local W = Instance.new("Weld")
  1168. W.Part0 = Limb
  1169. W.Part1 = B
  1170. W.C0 = CFrame.new(0, -0.5, 0)
  1171. W.Parent = Limb
  1172. end
  1173. local Limb = Character2:FindFirstChild("Right Leg")
  1174. if Limb then
  1175. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1176. local Joint = Instance.new("Glue")
  1177. Joint.Name = "RightHip"
  1178. Joint.Part0 = Torso2
  1179. Joint.Part1 = Limb
  1180. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1181. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1182. Joint.Parent = Torso2
  1183. local B = Instance.new("Part")
  1184. B.TopSurface = 0
  1185. B.BottomSurface = 0
  1186. B.formFactor = "Symmetric"
  1187. B.Size = Vector3.new(1, 1, 1)
  1188. B.Transparency = 1
  1189. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1190. B.Parent = Character2
  1191. local W = Instance.new("Weld")
  1192. W.Part0 = Limb
  1193. W.Part1 = B
  1194. W.C0 = CFrame.new(0, -0.5, 0)
  1195. W.Parent = Limb
  1196. end
  1197. local Limb = Character2:FindFirstChild("Left Leg")
  1198. if Limb then
  1199. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1200. local Joint = Instance.new("Glue")
  1201. Joint.Name = "LeftHip"
  1202. Joint.Part0 = Torso2
  1203. Joint.Part1 = Limb
  1204. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1205. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1206. Joint.Parent = Torso2
  1207. local B = Instance.new("Part")
  1208. B.TopSurface = 0
  1209. B.BottomSurface = 0
  1210. B.formFactor = "Symmetric"
  1211. B.Size = Vector3.new(1, 1, 1)
  1212. B.Transparency = 1
  1213. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1214. B.Parent = Character2
  1215. local W = Instance.new("Weld")
  1216. W.Part0 = Limb
  1217. W.Part1 = B
  1218. W.C0 = CFrame.new(0, -0.5, 0)
  1219. W.Parent = Limb
  1220. end
  1221. local Bar = Instance.new("Part")
  1222. Bar.TopSurface = 0
  1223. Bar.BottomSurface = 0
  1224. Bar.formFactor = "Symmetric"
  1225. Bar.Size = Vector3.new(1, 1, 1)
  1226. Bar.Transparency = 1
  1227. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1228. Bar.Parent = Character2
  1229. local Weld = Instance.new("Weld")
  1230. Weld.Part0 = Torso2
  1231. Weld.Part1 = Bar
  1232. Weld.C0 = CFrame.new(0, 0.5, 0)
  1233. Weld.Parent = Torso2
  1234. end
  1235. Character2.Parent = Weapon
  1236. if movevector ~= Vector3.new() then
  1237. for i = 1, 10 do
  1238. Torso2.Velocity = movevector * Velocity
  1239. end
  1240. end
  1241. Character2.Name = "Corpse"
  1242. return Character2, Torso2
  1243. end
  1244. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1245. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1246. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1247. if HITFLOOR.Name == "BloodPuddle" then
  1248. local DIST = (Position - HITFLOOR.Position).Magnitude
  1249. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1250. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1251. end
  1252. elseif HITFLOOR.Anchored == true then
  1253. do
  1254. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  1255. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1256. MakeForm(BLOOD, "Cyl")
  1257. coroutine.resume(coroutine.create(function()
  1258. Swait(75)
  1259. while true do
  1260. Swait()
  1261. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1262. if BLOOD.Size.Z < 0.051 then
  1263. BLOOD:remove()
  1264. break
  1265. end
  1266. end
  1267. end))
  1268. end
  1269. end
  1270. end
  1271. end
  1272. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1273. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  1274. BLOOD.CFrame = CF(POSITION)
  1275. MakeForm(BLOOD, "Ball")
  1276. local bv = Instance.new("BodyVelocity", BLOOD)
  1277. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1278. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1279. bv.Name = "MOVE"
  1280. Debris:AddItem(bv, 0.05)
  1281. coroutine.resume(coroutine.create(function()
  1282. local HASTOUCHEDGROUND = false
  1283. local HIT = BLOOD.Touched:Connect(function(hit)
  1284. if hit.Anchored == true then
  1285. HASTOUCHEDGROUND = true
  1286. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1287. end
  1288. end)
  1289. wait(5)
  1290. if HASTOUCHEDGROUND == false then
  1291. BLOOD:remove()
  1292. end
  1293. end))
  1294. end
  1295. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1296. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1297. defence.Name = "HitBy" .. Player.Name
  1298. game:GetService("Debris"):AddItem(defence, 0.001)
  1299. Damage = Damage * DAMAGEMULTIPLIER
  1300. if Humanoid.Health ~= 0 then
  1301. local CritChance = MRANDOM(1, 100)
  1302. if Damage > Humanoid.Health then
  1303. Damage = math.ceil(Humanoid.Health)
  1304. if Damage == 0 then
  1305. Damage = 0.1
  1306. end
  1307. end
  1308. Humanoid.Health = Humanoid.Health - Damage
  1309. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1310. end
  1311. end
  1312. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1313. local CHILDREN = workspace:GetDescendants()
  1314. for index, CHILD in pairs(CHILDREN) do
  1315. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1316. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1317. if HUM then
  1318. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1319. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1320. if INSTAKILL == true then
  1321. Petrify(CHILD)
  1322. else
  1323. local DMG = MRANDOM(MINDMG, MAXDMG)
  1324. ApplyDamage(HUM, DMG, TORSO)
  1325. end
  1326. if FLING > 0 then
  1327. for _, c in pairs(CHILD:GetChildren()) do
  1328. if c:IsA("BasePart") then
  1329. local bv = Instance.new("BodyVelocity")
  1330. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1331. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1332. bv.Parent = c
  1333. Debris:AddItem(bv, 0.05)
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. end
  1342. function Petrify(Foe)
  1343. local STONEMODEL = IT("Model", Effects)
  1344. local CHILDREN = Foe:GetDescendants()
  1345. for index, CHILD in pairs(CHILDREN) do
  1346. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  1347. CHILD.Parent = STONEMODEL
  1348. CHILD.Material = "Slate"
  1349. CHILD.Color = C3(0.5, 0.5, 0.5)
  1350. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  1351. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  1352. mesh.TextureId = ""
  1353. end
  1354. if CHILD:FindFirstChildOfClass("Decal") then
  1355. local mesh = CHILD:FindFirstChildOfClass("Decal")
  1356. mesh:remove()
  1357. end
  1358. if CHILD.ClassName == "MeshPart" then
  1359. CHILD.TextureID = ""
  1360. end
  1361. if CHILD.ClassName == "UnionOperation" then
  1362. CHILD.UsePartColor = true
  1363. end
  1364. CHILD.CanCollide = true
  1365. end
  1366. end
  1367. Debris:AddItem(STONEMODEL, 5)
  1368. end
  1369. function Intro()
  1370. coroutine.resume(coroutine.create(function()
  1371. INTROING = true
  1372. Rooted = true
  1373. sick:Play()
  1374. FINISHEDINTRO = true
  1375. Head.Transparency = 1
  1376. Torso.Transparency = 1
  1377. LeftArm.Transparency = 1
  1378. RightArm.Transparency = 1
  1379. LeftLeg.Transparency = 1
  1380. RightLeg.Transparency = 1
  1381. repeat
  1382. Swait()
  1383. until sick.TimePosition > 3.2
  1384. for i = 1, 5 do
  1385. WACKYEFFECT({
  1386. EffectType = "Sphere",
  1387. Size = VT(3, 3, 3),
  1388. Size2 = VT(0, 5, 0),
  1389. Transparency = 0.5,
  1390. Transparency2 = 1,
  1391. CFrame = Torso.CFrame,
  1392. MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p,
  1393. RotationX = MRANDOM(-5, 5),
  1394. RotationY = MRANDOM(-5, 5),
  1395. RotationZ = MRANDOM(-5, 5),
  1396. Material = "Neon",
  1397. Color = C3(1, 0, 0),
  1398. SoundID = nil,
  1399. SoundPitch = nil,
  1400. SoundVolume = nil
  1401. })
  1402. end
  1403. RightWing()
  1404. repeat
  1405. Swait()
  1406. until sick.TimePosition > 6.2
  1407. for i = 1, 5 do
  1408. WACKYEFFECT({
  1409. EffectType = "Sphere",
  1410. Size = VT(3, 3, 3),
  1411. Size2 = VT(0, 5, 0),
  1412. Transparency = 0.5,
  1413. Transparency2 = 1,
  1414. CFrame = Torso.CFrame,
  1415. MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
  1416. RotationX = MRANDOM(-5, 5),
  1417. RotationY = MRANDOM(-5, 5),
  1418. RotationZ = MRANDOM(-5, 5),
  1419. Material = "Neon",
  1420. Color = C3(1, 0, 0),
  1421. SoundID = nil,
  1422. SoundPitch = nil,
  1423. SoundVolume = nil
  1424. })
  1425. end
  1426. LeftWing()
  1427. repeat
  1428. Swait()
  1429. until sick.TimePosition > 16
  1430. for i = 1, 6 do
  1431. WACKYEFFECT({
  1432. EffectType = "Sphere",
  1433. Size = VT(1.5, 1.5, 1.5),
  1434. Size2 = VT(4, 4, 4) * i,
  1435. Transparency = 0,
  1436. Transparency2 = 1,
  1437. CFrame = Head.CFrame,
  1438. MoveToPos = nil,
  1439. RotationX = 0,
  1440. RotationY = 0,
  1441. RotationZ = 0,
  1442. Material = "Neon",
  1443. Color = C3(1, 0, 0),
  1444. SoundID = nil,
  1445. SoundPitch = nil,
  1446. SoundVolume = nil
  1447. })
  1448. end
  1449. Head.Transparency = 0
  1450. Face()
  1451. wait(1)
  1452. for i = 1, 100 do
  1453. Swait()
  1454. Torso.Transparency = 1 - i / 100
  1455. LeftArm.Transparency = 1 - i / 100
  1456. RightArm.Transparency = 1 - i / 100
  1457. LeftLeg.Transparency = 1 - i / 100
  1458. RightLeg.Transparency = 1 - i / 100
  1459. end
  1460. FINISHEDINTRO = true
  1461. Rooted = false
  1462. end))
  1463. end
  1464. function Neck_Snap()
  1465. ATTACK = true
  1466. Rooted = false
  1467. local TARGET, HUM, WLD
  1468. local HIT = RightArm.Touched:Connect(function(hit)
  1469. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1470. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1471. if H.Health > 0 then
  1472. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1473. if TORSO then
  1474. HUM = H
  1475. TARGET = TORSO
  1476. H.PlatformStand = true
  1477. CreateSound("260411131", TORSO, 10, 1)
  1478. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1479. end
  1480. end
  1481. end
  1482. end)
  1483. for i = 0, 1, 0.1 / Animation_Speed do
  1484. Swait()
  1485. if TARGET ~= nil then
  1486. break
  1487. end
  1488. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1489. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1490. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1491. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1492. if ANIM == "Idle" then
  1493. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1494. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1495. elseif ANIM == "Walk" then
  1496. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1498. elseif ANIM == "Jump" or ANIM == "Fall" then
  1499. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1501. end
  1502. end
  1503. HIT:disconnect()
  1504. if TARGET ~= nil then
  1505. if TARGET.Name == "Torso" then
  1506. for i = 0, 2, 0.1 / Animation_Speed do
  1507. Swait()
  1508. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1509. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1510. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1511. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1512. if ANIM == "Idle" then
  1513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1515. elseif ANIM == "Walk" then
  1516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1518. elseif ANIM == "Jump" or ANIM == "Fall" then
  1519. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1520. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1521. end
  1522. end
  1523. WLD:remove()
  1524. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1525. if HEAD then
  1526. UNANCHOR = false
  1527. RootPart.Anchored = true
  1528. local HD = HEAD:Clone()
  1529. HD.Name = "FakeHead"
  1530. for i = 1, 7 do
  1531. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1532. end
  1533. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1534. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1535. HD.Parent = RAGDOLL
  1536. CreateSound("264486467", RAGTORSO, 10, 1)
  1537. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1538. for i = 0, 2, 0.1 / Animation_Speed do
  1539. Swait()
  1540. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1544. if ANIM == "Idle" then
  1545. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1546. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1547. elseif ANIM == "Walk" then
  1548. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1550. elseif ANIM == "Jump" or ANIM == "Fall" then
  1551. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1553. end
  1554. end
  1555. HEADWELD:remove()
  1556. for i = 0, 0.5, 0.1 / Animation_Speed do
  1557. Swait()
  1558. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1562. if ANIM == "Idle" then
  1563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1565. elseif ANIM == "Walk" then
  1566. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. elseif ANIM == "Jump" or ANIM == "Fall" then
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1571. end
  1572. end
  1573. CreateSound("907333406", Torso, 10, 1)
  1574. for i = 0, 0.25, 0.1 / Animation_Speed do
  1575. Swait()
  1576. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1580. if ANIM == "Idle" then
  1581. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1582. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1583. elseif ANIM == "Walk" then
  1584. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1586. elseif ANIM == "Jump" or ANIM == "Fall" then
  1587. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1589. end
  1590. end
  1591. RAGWELD:remove()
  1592. local bv = Instance.new("BodyVelocity")
  1593. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1594. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1595. bv.Parent = RAGTORSO
  1596. Debris:AddItem(bv, 0.05)
  1597. Debris:AddItem(RAGDOLL, 5)
  1598. for i = 0, 0.15, 0.1 / Animation_Speed do
  1599. Swait()
  1600. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1601. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1604. if ANIM == "Idle" then
  1605. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1606. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1607. elseif ANIM == "Walk" then
  1608. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1609. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1610. elseif ANIM == "Jump" or ANIM == "Fall" then
  1611. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1612. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1613. end
  1614. end
  1615. UNANCHOR = true
  1616. RootPart.Anchored = false
  1617. end
  1618. else
  1619. UNANCHOR = false
  1620. RootPart.Anchored = true
  1621. for i = 0, 0.5, 0.1 / Animation_Speed do
  1622. Swait()
  1623. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1627. if ANIM == "Idle" then
  1628. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1629. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1630. elseif ANIM == "Walk" then
  1631. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1632. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1633. elseif ANIM == "Jump" or ANIM == "Fall" then
  1634. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1636. end
  1637. end
  1638. for i = 0, 0.25, 0.1 / Animation_Speed do
  1639. Swait()
  1640. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1644. if ANIM == "Idle" then
  1645. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1646. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1647. elseif ANIM == "Walk" then
  1648. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1650. elseif ANIM == "Jump" or ANIM == "Fall" then
  1651. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1652. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1653. end
  1654. end
  1655. WLD:remove()
  1656. TARGET.Parent:BreakJoints()
  1657. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1658. if c:IsA("BasePart") then
  1659. local bv = Instance.new("BodyVelocity")
  1660. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1661. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1662. bv.Parent = c
  1663. Debris:AddItem(bv, 0.05)
  1664. end
  1665. end
  1666. for i = 0, 0.15, 0.1 / Animation_Speed do
  1667. Swait()
  1668. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1669. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1672. if ANIM == "Idle" then
  1673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1675. elseif ANIM == "Walk" then
  1676. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1677. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1678. elseif ANIM == "Jump" or ANIM == "Fall" then
  1679. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1680. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1681. end
  1682. end
  1683. UNANCHOR = true
  1684. RootPart.Anchored = false
  1685. end
  1686. end
  1687. ATTACK = false
  1688. Rooted = false
  1689. end
  1690. function Imperfect_Command()
  1691. ATTACK = true
  1692. Rooted = true
  1693. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1694. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1695. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1696. if TORSO then
  1697. local GYRO = IT("BodyGyro", RootPart)
  1698. GYRO.D = 750
  1699. GYRO.P = 2000
  1700. GYRO.MaxTorque = VT(0, 40000, 0)
  1701. CreateSound("907330103", Torso, 10, 1)
  1702. for i = 0, 1.6, 0.1 / Animation_Speed do
  1703. Swait()
  1704. WACKYEFFECT({
  1705. Time = 5,
  1706. EffectType = "Round Slash",
  1707. Size = VT(0, 0, 0),
  1708. Size2 = VT(0.01, 0, 0.01),
  1709. Transparency = 0.5,
  1710. Transparency2 = 1,
  1711. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1712. MoveToPos = nil,
  1713. RotationX = MRANDOM(-50, 50) / 10,
  1714. RotationY = MRANDOM(-50, 50) / 10,
  1715. RotationZ = MRANDOM(-50, 50) / 10,
  1716. Material = "Neon",
  1717. Color = C3(1, 0, 0),
  1718. SoundID = nil,
  1719. SoundPitch = nil,
  1720. SoundVolume = nil
  1721. })
  1722. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1723. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  1724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  1725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1727. if ANIM == "Idle" then
  1728. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1729. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1730. elseif ANIM == "Walk" then
  1731. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1732. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1733. elseif ANIM == "Jump" or ANIM == "Fall" then
  1734. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1735. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1736. end
  1737. end
  1738. GYRO:remove()
  1739. for i = 1, 15 do
  1740. WACKYEFFECT({
  1741. Time = MRANDOM(15, 85),
  1742. EffectType = "Round Slash",
  1743. Size = VT(0, 0, 0),
  1744. Size2 = VT(0.3, 0, 0.3),
  1745. Transparency = 0.5,
  1746. Transparency2 = 1,
  1747. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1748. MoveToPos = nil,
  1749. RotationX = MRANDOM(-50, 50) / 10,
  1750. RotationY = MRANDOM(-50, 50) / 10,
  1751. RotationZ = MRANDOM(-50, 50) / 10,
  1752. Material = "Neon",
  1753. Color = C3(1, 0, 0),
  1754. SoundID = nil,
  1755. SoundPitch = nil,
  1756. SoundVolume = nil
  1757. })
  1758. end
  1759. local bv = Instance.new("BodyVelocity")
  1760. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1761. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  1762. bv.Parent = TORSO
  1763. Debris:AddItem(bv, 0.05)
  1764. CreateSound("1222405264", TORSO, 10, 1)
  1765. Petrify(HUM.Parent)
  1766. for i = 0, 0.5, 0.1 / Animation_Speed do
  1767. Swait()
  1768. WACKYEFFECT({
  1769. Time = 5,
  1770. EffectType = "Round Slash",
  1771. Size = VT(0, 0, 0),
  1772. Size2 = VT(0.01, 0, 0.01),
  1773. Transparency = 0.5,
  1774. Transparency2 = 1,
  1775. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1776. MoveToPos = nil,
  1777. RotationX = MRANDOM(-50, 50) / 10,
  1778. RotationY = MRANDOM(-50, 50) / 10,
  1779. RotationZ = MRANDOM(-50, 50) / 10,
  1780. Material = "Neon",
  1781. Color = C3(1, 0, 0),
  1782. SoundID = nil,
  1783. SoundPitch = nil,
  1784. SoundVolume = nil
  1785. })
  1786. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1787. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  1789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1791. if ANIM == "Idle" then
  1792. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1793. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1794. elseif ANIM == "Walk" then
  1795. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1797. elseif ANIM == "Jump" or ANIM == "Fall" then
  1798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1800. end
  1801. end
  1802. end
  1803. end
  1804. ATTACK = false
  1805. Rooted = false
  1806. end
  1807. function Fire_At_Will()
  1808. ATTACK = true
  1809. Rooted = false
  1810. local GYRO = IT("BodyGyro", RootPart)
  1811. GYRO.D = 750
  1812. GYRO.P = 2000
  1813. GYRO.MaxTorque = VT(0, 40000, 0)
  1814. for i = 0, 0.2, 0.1 / Animation_Speed do
  1815. Swait()
  1816. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1817. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1821. if ANIM == "Idle" then
  1822. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1824. elseif ANIM == "Walk" then
  1825. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1826. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1827. elseif ANIM == "Jump" or ANIM == "Fall" then
  1828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1830. end
  1831. end
  1832. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Burgundy", "Sphere", VT(1, 1, 1), false)
  1833. MakeForm(BOMB, "Ball")
  1834. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  1835. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  1836. for i = 0, 1.5, 0.1 / Animation_Speed do
  1837. Swait()
  1838. if MRANDOM(1, 2) == 1 then
  1839. for E = 1, #EYES do
  1840. if EYES[E] ~= nil then
  1841. local EY = EYES[E]
  1842. local LIGHTNING = Zap({
  1843. StartPosition = EY.Position,
  1844. TargetPosition = BOMB.Position,
  1845. Character = Character,
  1846. Color = "Burgundy",
  1847. Individual = false,
  1848. MaxRange = 7,
  1849. SegmentLength = 1,
  1850. Offset = 0.3,
  1851. SIZE = 0.05
  1852. })
  1853. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  1854. end
  1855. end
  1856. end
  1857. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  1858. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1859. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1860. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1861. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1862. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1863. if ANIM == "Idle" then
  1864. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1865. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1866. elseif ANIM == "Walk" then
  1867. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1868. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1869. elseif ANIM == "Jump" or ANIM == "Fall" then
  1870. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1871. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1872. end
  1873. end
  1874. WACKYEFFECT({
  1875. Time = 25,
  1876. EffectType = "Ring",
  1877. Size = VT(0, 0, 0),
  1878. Size2 = VT(3.75, 3.75, 0),
  1879. Transparency = 0.7,
  1880. Transparency2 = 1,
  1881. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1882. MoveToPos = nil,
  1883. RotationX = 0,
  1884. RotationY = 0,
  1885. RotationZ = 0,
  1886. Material = "Neon",
  1887. Color = BOMB.Color,
  1888. SoundID = nil,
  1889. SoundPitch = nil,
  1890. SoundVolume = nil
  1891. })
  1892. WACKYEFFECT({
  1893. Time = 50,
  1894. EffectType = "Ring",
  1895. Size = VT(0, 0, 0),
  1896. Size2 = VT(15, 15, 0),
  1897. Transparency = 0.7,
  1898. Transparency2 = 1,
  1899. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1900. MoveToPos = nil,
  1901. RotationX = 0,
  1902. RotationY = 0,
  1903. RotationZ = 0,
  1904. Material = "Neon",
  1905. Color = BOMB.Color,
  1906. SoundID = nil,
  1907. SoundPitch = nil,
  1908. SoundVolume = nil
  1909. })
  1910. BOMB.Anchored = true
  1911. WELD:remove()
  1912. GYRO:remove()
  1913. coroutine.resume(coroutine.create(function()
  1914. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  1915. for i = 1, 500 do
  1916. Swait()
  1917. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  1918. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  1919. if HITFLOOR ~= nil then
  1920. break
  1921. end
  1922. end
  1923. ApplyAoE(BOMB.Position, 75, 0, 0, 0, true)
  1924. for i = 1, 3 do
  1925. WACKYEFFECT({
  1926. Time = 35,
  1927. EffectType = "Swirl",
  1928. Size = VT(0, 0, 0),
  1929. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  1930. Transparency = 0,
  1931. Transparency2 = 1,
  1932. CFrame = BOMB.CFrame,
  1933. MoveToPos = nil,
  1934. RotationX = 0,
  1935. RotationY = 5 * i,
  1936. RotationZ = 0,
  1937. Material = "Neon",
  1938. Color = BOMB.Color,
  1939. SoundID = nil,
  1940. SoundPitch = nil,
  1941. SoundVolume = nil
  1942. })
  1943. end
  1944. for i = 1, 5 do
  1945. WACKYEFFECT({
  1946. Time = 75,
  1947. EffectType = "Sphere",
  1948. Size = BOMB.Mesh.Scale,
  1949. Size2 = VT(25, 25, 25) * i,
  1950. Transparency = 0.5,
  1951. Transparency2 = 1,
  1952. CFrame = BOMB.CFrame,
  1953. MoveToPos = nil,
  1954. RotationX = 0,
  1955. RotationY = 0,
  1956. RotationZ = 0,
  1957. Material = "Neon",
  1958. Color = BOMB.Color,
  1959. SoundID = 1222405264,
  1960. SoundPitch = 1,
  1961. SoundVolume = 10
  1962. })
  1963. end
  1964. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  1965. if HITFLOOR then
  1966. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  1967. end
  1968. BOMB.Transparency = 1
  1969. for i = 1, 35 do
  1970. Swait()
  1971. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  1972. end
  1973. BOMB:remove()
  1974. end))
  1975. ATTACK = false
  1976. Rooted = false
  1977. end
  1978. function Imperfect_Storm()
  1979. ATTACK = true
  1980. Rooted = false
  1981. for i = 0, 1, 0.1 / Animation_Speed do
  1982. Swait()
  1983. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1984. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1985. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1986. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1987. if ANIM == "Idle" then
  1988. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1989. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1990. elseif ANIM == "Walk" then
  1991. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1992. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1993. elseif ANIM == "Jump" or ANIM == "Fall" then
  1994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1996. end
  1997. end
  1998. ATTACK = false
  1999. Rooted = false
  2000. end
  2001. function MouseDown(Mouse)
  2002. if ATTACK == false then
  2003. end
  2004. end
  2005. function MouseUp(Mouse)
  2006. HOLD = false
  2007. end
  2008. function KeyDown(Key)
  2009. KEYHOLD = true
  2010. if FINISHEDINTRO == true then
  2011. if Key == "z" and ATTACK == false then
  2012. Neck_Snap()
  2013. end
  2014. if Key == "b" and ATTACK == false then
  2015. Imperfect_Command()
  2016. end
  2017. if Key == "c" and ATTACK == false then
  2018. Fire_At_Will()
  2019. end
  2020. if Key ~= "v" or ATTACK == false then
  2021. end
  2022. if Key ~= "x" or ATTACK == false then
  2023. end
  2024. end
  2025. end
  2026. function KeyUp(Key)
  2027. KEYHOLD = false
  2028. end
  2029. Mouse.Button1Down:connect(function(NEWKEY)
  2030. MouseDown(NEWKEY)
  2031. end)
  2032. Mouse.Button1Up:connect(function(NEWKEY)
  2033. MouseUp(NEWKEY)
  2034. end)
  2035. Mouse.KeyDown:connect(function(NEWKEY)
  2036. KeyDown(NEWKEY)
  2037. end)
  2038. Mouse.KeyUp:connect(function(NEWKEY)
  2039. KeyUp(NEWKEY)
  2040. end)
  2041. function unanchor()
  2042. if UNANCHOR == true then
  2043. RootPart.Anchored = false
  2044. end
  2045. local CHILDREN = Character:GetDescendants()
  2046. for index, CHILD in pairs(CHILDREN) do
  2047. if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
  2048. CHILD.Anchored = false
  2049. end
  2050. end
  2051. end
  2052. Humanoid.Changed:connect(function(Jump)
  2053. if Jump == "Jump" and Disable_Jump == true then
  2054. Humanoid.Jump = false
  2055. end
  2056. end)
  2057. while true do
  2058. Swait()
  2059. script.Parent = WEAPONGUI
  2060. ANIMATE.Parent = nil
  2061. if Humanoid then
  2062. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2063. IDLEANIMATION:Play()
  2064. end
  2065. for RW = 1, #RWINGS do
  2066. if RWINGS[RW] ~= nil then
  2067. RWINGS[RW].C1 = Clerp(RWINGS[RW].C1, CF(-0.25 + 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 + 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2068. end
  2069. end
  2070. for LW = 1, #LWINGS do
  2071. if LWINGS[LW] ~= nil then
  2072. LWINGS[LW].C1 = Clerp(LWINGS[LW].C1, CF(0.25 - 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 - 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2073. end
  2074. end
  2075. SINE = SINE + CHANGE
  2076. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2077. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2078. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
  2079. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2080. if FINISHEDINTRO == true then
  2081. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2082. ANIM = "Jump"
  2083. if ATTACK == false then
  2084. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2086. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2087. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2088. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2089. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2090. end
  2091. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2092. ANIM = "Fall"
  2093. if ATTACK == false then
  2094. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2098. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2099. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2100. end
  2101. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2102. ANIM = "Idle"
  2103. if ATTACK == false then
  2104. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2108. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2109. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2110. end
  2111. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2112. ANIM = "Walk"
  2113. if ATTACK == false then
  2114. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 22)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 22)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 22)), RAD(15 + 7.5 * SIN(SINE / 22))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 22)), RAD(-15 - 7.5 * SIN(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2118. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2119. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2120. end
  2121. end
  2122. if TORSOVELOCITY > 1 then
  2123. Humanoid.HipHeight = 1
  2124. else
  2125. Humanoid.HipHeight = 0
  2126. end
  2127. elseif FINISHEDINTRO == false then
  2128. Humanoid.HipHeight = 0
  2129. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2133. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2135. end
  2136. unanchor()
  2137. Humanoid.MaxHealth = "inf"
  2138. Humanoid.Health = "inf"
  2139. if Rooted == false then
  2140. Disable_Jump = false
  2141. Humanoid.WalkSpeed = Speed
  2142. elseif Rooted == true then
  2143. Disable_Jump = true
  2144. Humanoid.WalkSpeed = 0
  2145. end
  2146. sick.Parent = Torso
  2147. sick.Playing = true
  2148. sick.Volume = 3
  2149. sick.Pitch = 1
  2150. BLINKLOOP = BLINKLOOP + 1
  2151. if BLINKLOOP >= 650 then
  2152. BLINKLOOP = 0
  2153. Blink()
  2154. end
  2155. if Character:FindFirstChildOfClass("Accessory") then
  2156. Character:FindFirstChildOfClass("Accessory"):remove()
  2157. end
  2158. if Head:FindFirstChildOfClass("Sound") then
  2159. Head:FindFirstChildOfClass("Sound"):remove()
  2160. end
  2161. if INTROING == false and FINISHEDINTRO == false then
  2162. if INSTANT == false then
  2163. Intro()
  2164. else
  2165. FINISHEDINTRO = true
  2166. Face()
  2167. RightWing()
  2168. LeftWing()
  2169. end
  2170. end
  2171. if Head:FindFirstChild("face") then
  2172. Head.face:remove()
  2173. end
  2174. refit()
  2175. Humanoid.PlatformStand = false
  2176. mx = game.Debris
  2177. mx2 = game.Debris.MaxItems
  2178.  
  2179. if (mx.MaxItems > 20000) then
  2180. mx.MaxItems = mx2*.75
  2181. end
  2182.  
  2183. --made by bigbadke12
  2184. --dont change my name!
  2185. --if the script stops working lower the number from 40,000 to a lower number. (changeing it to a crazy number like 1,000,000
  2186. --will only make it worse)
  2187. --this works so dont copy it.
  2188. --this is Version V4.1.1
  2189. --ONLY TRUST ANTI-LAG SCRIPTS MADE BY bigbadke12 or they may be infected or leeched.
  2190. --Enjoy! :)
  2191. --Dont forget to tell your friends!
  2192. --Read the "READ ME!" Script!
  2193. --If you like this script join: http://www.roblox.com/groups/group.aspx?gid=537037
  2194. --Check out the "how it works" guide to read how this script works
  2195.  
  2196.  
  2197. --Credits--
  2198. --Anaminus -Updater Script
  2199. --Zaqw78 -Helped find a couple bugs
  2200.  
  2201. --Extra Stuff--
  2202. --Want to help me out a little?
  2203. --Come play http://www.roblox.com/GameStop-Tycoon-V5-6-Favorite-Updates-Coming-place?id=44412559
  2204. --Who knows you might just have a little fun there to.
  2205. end
Advertisement
Add Comment
Please, Sign In to add comment