SHARE
TWEET

Untitled

a guest Mar 25th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(0.2)
  2.  
  3.  
  4. --//====================================================\\--
  5. --||               CREATED BY SHACKLUSTER
  6. --\\====================================================//--
  7.  
  8.  
  9. print'MOVES BELOW'
  10. warn'[Z] Bullet Hell'
  11. warn'[B] Game Over'
  12. warn'[V] Warp Apocalypse'
  13. warn'[C] Chained Punch'
  14. warn'[X] Insanity Box'
  15. warn'[Q] Isolation (Warden Lock)'
  16. warn'[E] Void Blast (Ravager Beam)'
  17. warn'[Y] Banisher Bullet (Injustice gun)'
  18. warn'[U] Real Banisher Bullet (Banisher gun)'
  19. print'Welp, Thats it all covered up.'
  20. print'Credits to Shackluster, as there are some moves from other scripts he did too. this may be a Minor Mix, and kind of major edit.'
  21.  
  22. wait(0.2)
  23.  
  24.  
  25. Player = game:GetService("Players").LocalPlayer
  26. PlayerGui = Player.PlayerGui
  27. Cam = workspace.CurrentCamera
  28. Backpack = Player.Backpack
  29. Character = Player.Character
  30. Humanoid = Character.Humanoid
  31. RootPart = Character["HumanoidRootPart"]
  32. Torso = Character["Torso"]
  33. Head = Character["Head"]
  34. RightArm = Character["Right Arm"]
  35. LeftArm = Character["Left Arm"]
  36. RightLeg = Character["Right Leg"]
  37. LeftLeg = Character["Left Leg"]
  38. RootJoint = RootPart["RootJoint"]
  39. Neck = Torso["Neck"]
  40. RightShoulder = Torso["Right Shoulder"]
  41. LeftShoulder = Torso["Left Shoulder"]
  42. RightHip = Torso["Right Hip"]
  43. LeftHip = Torso["Left Hip"]
  44. Character.Archivable = true
  45. local Mouse = Player:GetMouse()
  46. Mouse = Player:GetMouse()
  47. Player:ClearCharacterAppearance()
  48.  
  49. IT = Instance.new
  50. CF = CFrame.new
  51. VT = Vector3.new
  52. RAD = math.rad
  53. C3 = Color3.new
  54. UD2 = UDim2.new
  55. BRICKC = BrickColor.new
  56. ANGLES = CFrame.Angles
  57. EULER = CFrame.fromEulerAnglesXYZ
  58. COS = math.cos
  59. ACOS = math.acos
  60. SIN = math.sin
  61. ASIN = math.asin
  62. ABS = math.abs
  63. MRANDOM = math.random
  64. FLOOR = math.floor
  65.  
  66. --//=================================\\
  67. --||          USEFUL VALUES
  68. --\\=================================//
  69. local FORCERESET = false
  70.         HeadColor = C3(0,0,0)
  71.         BodyColor = C3(0,0,0)
  72. Animation_Speed = 3
  73. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  74. local Speed = 20
  75. local SIZE = 1
  76. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  77. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  78. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  79. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  80. local DAMAGEMULTIPLIER = 1
  81. local ANIM = "Idle"
  82. local ATTACK = false
  83. local EQUIPPED = false
  84. local HOLD = false
  85. local COMBO = 1
  86. local Rooted = false
  87. local SINE = 0
  88. local KEYHOLD = false
  89. local CHANGE = 2 / Animation_Speed
  90. local WALKINGANIM = false
  91. local VALUE1 = false
  92. local VALUE2 = false
  93. local ROBLOXIDLEANIMATION = IT("Animation")
  94. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  95. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  96. local ATANIM = IT("Animation")
  97. ATANIM.Name = "Attack Animation"
  98. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  99. --ROBLOXIDLEANIMATION.Parent = Humanoid
  100. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  101. WEAPONGUI.Name = "Weapon GUI"
  102. local Weapon = IT("Model")
  103. Weapon.Name = "Adds"
  104. local Effects = IT("Folder", Weapon)
  105. Effects.Name = "Effects"
  106. local InjusticeGun = IT("Model")
  107. InjusticeGun.Name = "Adds"
  108. local InjusticeGun2 = IT("Model")
  109. InjusticeGun2.Name = "Adds"
  110. local ANIMATOR = Humanoid.Animator
  111. local ANIMATE = Character.Animate
  112. local UNANCHOR = true
  113. local CLOCKLOOP = 0
  114. local SONG = 233587172
  115. local CLOCKTARGET = nil
  116. local CLOCKSPEED = 10
  117. script.Parent = WEAPONGUI
  118. local CLONE = Character:Clone()
  119. CLONE.Parent = nil
  120. Character.Archivable = false
  121. local sick = Instance.new("Sound",Torso)
  122. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  123. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  124. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  125. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  126. local ANIMATE = Character:FindFirstChild("Animate")
  127. local TOBANISH = {}
  128. script.Parent = PlayerGui
  129.  
  130. --//=================================\\
  131. --\\=================================//
  132.  
  133. --//=================================\\
  134. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  135. --\\=================================//
  136.  
  137. ArtificialHB = Instance.new("BindableEvent", script)
  138. ArtificialHB.Name = "ArtificialHB"
  139.  
  140. script:WaitForChild("ArtificialHB")
  141.  
  142. frame = Frame_Speed
  143. tf = 0
  144. allowframeloss = false
  145. tossremainder = false
  146. lastframe = tick()
  147. script.ArtificialHB:Fire()
  148.  
  149. game:GetService("RunService").Heartbeat:connect(function(s, p)
  150.     tf = tf + s
  151.     if tf >= frame then
  152.         if allowframeloss then
  153.             script.ArtificialHB:Fire()
  154.             lastframe = tick()
  155.         else
  156.             for i = 1, math.floor(tf / frame) do
  157.                 script.ArtificialHB:Fire()
  158.             end
  159.         lastframe = tick()
  160.         end
  161.         if tossremainder then
  162.             tf = 0
  163.         else
  164.             tf = tf - frame * math.floor(tf / frame)
  165.         end
  166.     end
  167. end)
  168.  
  169. --//=================================\\
  170. --\\=================================//
  171. function chatfunc(text)
  172.     local chat = coroutine.wrap(function()
  173.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  174.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  175.     end
  176.     local Bill = Instance.new("BillboardGui",Character)
  177.     Bill.Size = UDim2.new(0,100,0,40)
  178.     Bill.StudsOffset = Vector3.new(0,3,0)
  179.     Bill.Adornee = Character.Head
  180.     Bill.Name = "TalkingBillBoard"
  181.     local Hehe = Instance.new("TextLabel",Bill)
  182.     Hehe.BackgroundTransparency = 1
  183.     Hehe.BorderSizePixel = 0
  184.     Hehe.Text = ""
  185.     Hehe.Font = "Garamond"
  186.     Hehe.TextSize = 40
  187.     Hehe.TextStrokeTransparency = 0
  188.     Hehe.Size = UDim2.new(1,0,0.5,0)
  189.     coroutine.resume(coroutine.create(function()
  190.         while Hehe ~= nil do
  191.             Swait()
  192.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  193.             Hehe.Rotation = math.random(-5,5)
  194.             Hehe.TextColor3 = Color3.new(98, 37, 209)
  195.             Hehe.TextStrokeColor3 = Color3.new(17, 17, 17)
  196.         end
  197.     end))
  198.     for i = 1,string.len(text),1 do
  199.         Swait()
  200.         Hehe.Text = string.sub(text,1,i)
  201.     end
  202.     Swait(90)--Re[math.random(1, 93)]
  203.     for i = 0, 1, .025 do
  204.         Swait()
  205.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  206.         Hehe.TextStrokeTransparency = i
  207.         Hehe.TextTransparency = i
  208.     end
  209.     Bill:Destroy()
  210.     end)
  211. chat()
  212. end
  213.  
  214. function onChatted(msg)
  215.     chatfunc(msg)
  216. end
  217.  
  218. Player.Chatted:connect(onChatted)
  219. --//=================================\\
  220. --||          SOME FUNCTIONS
  221. --\\=================================//
  222. function Banish(Foe)
  223.     if Foe then
  224.         coroutine.resume(coroutine.create(function()
  225.             --if game.Players:FindFirstChild(Foe.Name) then
  226.                 table.insert(TOBANISH,Foe.Name)
  227.                 printbye(Foe.Name)
  228.             --end
  229.             Foe.Archivable = true
  230.             local CLONE = Foe:Clone()
  231.             Foe:Destroy()
  232.             CLONE.Parent = Effects
  233.             CLONE:BreakJoints()
  234.             local MATERIALS = {"Glass","Neon"}
  235.             for _, c in pairs(CLONE:GetDescendants()) do
  236.                 if c:IsA("BasePart") then
  237.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  238.                         CreateSound(624706518, c, 10, 1, false)
  239.                     end
  240.                     c.Anchored = true
  241.                     c.Transparency = c.Transparency + 0.2
  242.                     c.Material = MATERIALS[MRANDOM(1,2)]
  243.                     c.Color = C3(1,0,0)
  244.                     if c.ClassName == "MeshPart" then
  245.                         c.TextureID = ""
  246.                     end
  247.                     if c:FindFirstChildOfClass("SpecialMesh") then
  248.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  249.                     end
  250.                     if c:FindFirstChildOfClass("Decal") then
  251.                         c:FindFirstChildOfClass("Decal"):remove()
  252.                     end
  253.                     c.Name = "Banished"
  254.                     c.CanCollide = false
  255.                 else
  256.                     c:remove()
  257.                 end
  258.             end
  259.             local A = false
  260.             for i = 1, 35 do
  261.                 if A == false then
  262.                     A = true
  263.                 elseif A == true then
  264.                     A = false
  265.                 end
  266.                 for _, c in pairs(CLONE:GetDescendants()) do
  267.                     if c:IsA("BasePart") then
  268.                         c.Anchored = true
  269.                         c.Material = MATERIALS[MRANDOM(1,2)]
  270.                         c.Transparency = c.Transparency + 0.8/35
  271.                         if A == false then
  272.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  273.                         elseif A == true then
  274.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  275.                         end
  276.                     end
  277.                 end
  278.                 Swait()
  279.             end
  280.             CLONE:remove()
  281.         end))
  282.     end
  283. end
  284.  
  285. function ApplyAoe(POSITION,RANGE,ISBANISH)
  286.     local CHILDREN = workspace:GetDescendants()
  287.     for index, CHILD in pairs(CHILDREN) do
  288.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  289.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  290.             if HUM then
  291.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  292.                 if TORSO then
  293.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  294.                         if ISBANISH == true then
  295.                             Banish(CHILD)
  296.                         else
  297.                             if ISBANISH == "Gravity" then
  298.                                 HUM.PlatformStand = true
  299.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  300.                                     local grav = Instance.new("BodyPosition",TORSO)
  301.                                     grav.D = 15
  302.                                     grav.P = 20000
  303.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  304.                                     grav.position = TORSO.Position
  305.                                     grav.Name = "V3BanishForce"..Player.Name
  306.                                 else
  307.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  308.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  309.                                 end
  310.                             else
  311.                                 HUM.PlatformStand = false
  312.                             end
  313.                         end
  314.                     elseif ISBANISH == "Gravity" then
  315.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  316.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  317.                             HUM.PlatformStand = false
  318.                         end
  319.                     end
  320.                 end
  321.             end
  322.         end
  323.     end
  324. end
  325.  
  326. function Reappear()
  327.     for _, c in pairs(Character:GetChildren()) do
  328.         if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  329.             c.Transparency = 0
  330.             if c:FindFirstChildOfClass("Decal") then
  331.                 c:FindFirstChildOfClass("Decal").Transparency = 0
  332.             end
  333.             if c:FindFirstChildOfClass("ParticleEmitter") then
  334.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  335.             end
  336.         elseif c.ClassName == "Accessory" then
  337.             c.Handle.Transparency = 0
  338.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  339.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  340.             end
  341.         end
  342.     end
  343. end
  344.  
  345. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  346.     if FLOOR ~= nil then
  347.         coroutine.resume(coroutine.create(function()
  348.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "White", "DebreeCenter", VT(0,0,0))
  349.             PART.CFrame = CF(POSITION)
  350.             for i = 1, 45 do
  351.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "White", "DebreePart", BLOCKSIZE)
  352.                 RingPiece.Material = FLOOR.Material
  353.                 RingPiece.Color = FLOOR.Color
  354.                 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)))
  355.                 Debris:AddItem(RingPiece,SWAIT)
  356.             end
  357.             PART:remove()
  358.         end))
  359.     end
  360. end
  361.  
  362. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  363.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  364.     local mesh = IT("SpecialMesh",wave)
  365.     mesh.MeshType = "FileMesh"
  366.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  367.     mesh.Scale = SIZE
  368.     mesh.Offset = VT(0,0,0)
  369.     wave.CFrame = CFRAME
  370.     coroutine.resume(coroutine.create(function(PART)
  371.         for i = 1, WAIT do
  372.             Swait()
  373.             mesh.Scale = mesh.Scale + GROW
  374.             if DOESROT == true then
  375.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  376.             end
  377.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  378.             if wave.Transparency > 0.99 then
  379.                 wave:remove()
  380.             end
  381.         end
  382.     end))
  383. end
  384.  
  385. function VanishPlayer()
  386.     for _, c in pairs(Character:GetChildren()) do
  387.         if c.ClassName == "Part" then
  388.             c.Transparency = 1
  389.             if c:FindFirstChildOfClass("Decal") then
  390.                 c:FindFirstChildOfClass("Decal").Transparency = 1
  391.             end
  392.             if c:FindFirstChildOfClass("ParticleEmitter") then
  393.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  394.             end
  395.         elseif c.ClassName == "Accessory" then
  396.             c.Handle.Transparency = 1
  397.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  398.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  399.             end
  400.         end
  401.     end
  402. end
  403.  
  404. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  405.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  406. end
  407.  
  408. function PositiveAngle(NUMBER)
  409.     if NUMBER >= 0 then
  410.         NUMBER = 0
  411.     end
  412.     return NUMBER
  413. end
  414.  
  415. function NegativeAngle(NUMBER)
  416.     if NUMBER <= 0 then
  417.         NUMBER = 0
  418.     end
  419.     return NUMBER
  420. end
  421.  
  422. function Swait(NUMBER)
  423.     if NUMBER == 0 or NUMBER == nil then
  424.         ArtificialHB.Event:wait()
  425.     else
  426.         for i = 1, NUMBER do
  427.             ArtificialHB.Event:wait()
  428.         end
  429.     end
  430. end
  431.  
  432. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  433.     local NEWMESH = IT(MESH)
  434.     if MESH == "SpecialMesh" then
  435.         NEWMESH.MeshType = MESHTYPE
  436.         if MESHID ~= "nil" and MESHID ~= "" then
  437.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  438.         end
  439.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  440.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  441.         end
  442.     end
  443.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  444.     NEWMESH.Scale = SCALE
  445.     NEWMESH.Parent = PARENT
  446.     return NEWMESH
  447. end
  448.  
  449. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  450.     local NEWPART = IT("Part")
  451.     NEWPART.formFactor = FORMFACTOR
  452.     NEWPART.Reflectance = REFLECTANCE
  453.     NEWPART.Transparency = TRANSPARENCY
  454.     NEWPART.CanCollide = false
  455.     NEWPART.Locked = true
  456.     NEWPART.Anchored = true
  457.     if ANCHOR == false then
  458.         NEWPART.Anchored = false
  459.     end
  460.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  461.     NEWPART.Name = NAME
  462.     NEWPART.Size = SIZE
  463.     NEWPART.Position = Torso.Position
  464.     NEWPART.Material = MATERIAL
  465.     NEWPART:BreakJoints()
  466.     NEWPART.Parent = PARENT
  467.     return NEWPART
  468. end
  469.  
  470.     local function weldBetween(a, b)
  471.         local weldd = Instance.new("ManualWeld")
  472.         weldd.Part0 = a
  473.         weldd.Part1 = b
  474.         weldd.C0 = CFrame.new()
  475.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  476.         weldd.Parent = a
  477.         return weldd
  478.     end
  479.  
  480.  
  481. function QuaternionFromCFrame(cf)
  482.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  483.     local trace = m00 + m11 + m22
  484.     if trace > 0 then
  485.         local s = math.sqrt(1 + trace)
  486.         local recip = 0.5 / s
  487.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  488.     else
  489.         local i = 0
  490.         if m11 > m00 then
  491.             i = 1
  492.         end
  493.         if m22 > (i == 0 and m00 or m11) then
  494.             i = 2
  495.         end
  496.         if i == 0 then
  497.             local s = math.sqrt(m00 - m11 - m22 + 1)
  498.             local recip = 0.5 / s
  499.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  500.         elseif i == 1 then
  501.             local s = math.sqrt(m11 - m22 - m00 + 1)
  502.             local recip = 0.5 / s
  503.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  504.         elseif i == 2 then
  505.             local s = math.sqrt(m22 - m00 - m11 + 1)
  506.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  507.         end
  508.     end
  509. end
  510.  
  511. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  512.     local xs, ys, zs = x + x, y + y, z + z
  513.     local wx, wy, wz = w * xs, w * ys, w * zs
  514.     local xx = x * xs
  515.     local xy = x * ys
  516.     local xz = x * zs
  517.     local yy = y * ys
  518.     local yz = y * zs
  519.     local zz = z * zs
  520.     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))
  521. end
  522.  
  523. function QuaternionSlerp(a, b, t)
  524.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  525.     local startInterp, finishInterp;
  526.     if cosTheta >= 0.0001 then
  527.         if (1 - cosTheta) > 0.0001 then
  528.             local theta = ACOS(cosTheta)
  529.             local invSinTheta = 1 / SIN(theta)
  530.             startInterp = SIN((1 - t) * theta) * invSinTheta
  531.             finishInterp = SIN(t * theta) * invSinTheta
  532.         else
  533.             startInterp = 1 - t
  534.             finishInterp = t
  535.         end
  536.     else
  537.         if (1 + cosTheta) > 0.0001 then
  538.             local theta = ACOS(-cosTheta)
  539.             local invSinTheta = 1 / SIN(theta)
  540.             startInterp = SIN((t - 1) * theta) * invSinTheta
  541.             finishInterp = SIN(t * theta) * invSinTheta
  542.         else
  543.             startInterp = t - 1
  544.             finishInterp = t
  545.         end
  546.     end
  547.     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
  548. end
  549.  
  550. function Clerp(a, b, t)
  551.     local qa = {QuaternionFromCFrame(a)}
  552.     local qb = {QuaternionFromCFrame(b)}
  553.     local ax, ay, az = a.x, a.y, a.z
  554.     local bx, by, bz = b.x, b.y, b.z
  555.     local _t = 1 - t
  556.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  557. end
  558.  
  559. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  560.     local frame = IT("Frame")
  561.     frame.BackgroundTransparency = TRANSPARENCY
  562.     frame.BorderSizePixel = BORDERSIZEPIXEL
  563.     frame.Position = POSITION
  564.     frame.Size = SIZE
  565.     frame.BackgroundColor3 = COLOR
  566.     frame.BorderColor3 = BORDERCOLOR
  567.     frame.Name = NAME
  568.     frame.Parent = PARENT
  569.     return frame
  570. end
  571.  
  572. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  573.     local label = IT("TextLabel")
  574.     label.BackgroundTransparency = 1
  575.     label.Size = UD2(1, 0, 1, 0)
  576.     label.Position = UD2(0, 0, 0, 0)
  577.     label.TextColor3 = TEXTCOLOR
  578.     label.TextStrokeTransparency = STROKETRANSPARENCY
  579.     label.FontSize = TEXTFONTSIZE
  580.     label.Font = TEXTFONT
  581.     label.BorderSizePixel = BORDERSIZEPIXEL
  582.     label.TextStrokeColor3 = C3(1,1,1)
  583.     label.TextScaled = false
  584.     label.Text = TEXT
  585.     label.Name = NAME
  586.     label.Parent = PARENT
  587.     return label
  588. end
  589.  
  590. function NoOutlines(PART)
  591.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  592. end
  593.  
  594. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  595.     local NEWWELD = IT(TYPE)
  596.     NEWWELD.Part0 = PART0
  597.     NEWWELD.Part1 = PART1
  598.     NEWWELD.C0 = C0
  599.     NEWWELD.C1 = C1
  600.     NEWWELD.Parent = PARENT
  601.     return NEWWELD
  602. end
  603.  
  604. local S = IT("Sound")
  605. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  606.     local NEWSOUND = nil
  607.     coroutine.resume(coroutine.create(function()
  608.         NEWSOUND = S:Clone()
  609.         NEWSOUND.Parent = PARENT
  610.         NEWSOUND.Volume = VOLUME
  611.         NEWSOUND.Pitch = PITCH
  612.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  613.         NEWSOUND:play()
  614.         if DOESLOOP == true then
  615.             NEWSOUND.Looped = true
  616.         else
  617.             repeat wait(1) until NEWSOUND.Playing == false
  618.             NEWSOUND:remove()
  619.         end
  620.     end))
  621.     return NEWSOUND
  622. end
  623.  
  624. function CFrameFromTopBack(at, top, back)
  625.     local right = top:Cross(back)
  626.     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)
  627. end
  628.  
  629. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  630. function WACKYEFFECT(Table)
  631.     local TYPE = (Table.EffectType or "Sphere")
  632.     local SIZE = (Table.Size or VT(1,1,1))
  633.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  634.     local TRANSPARENCY = (Table.Transparency or 0)
  635.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  636.     local CFRAME = (Table.CFrame or Torso.CFrame)
  637.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  638.     local ROTATION1 = (Table.RotationX or 0)
  639.     local ROTATION2 = (Table.RotationY or 0)
  640.     local ROTATION3 = (Table.RotationZ or 0)
  641.     local MATERIAL = (Table.Material or "Neon")
  642.     local COLOR = (Table.Color or C3(1,1,1))
  643.     local TIME = (Table.Time or 45)
  644.     local SOUNDID = (Table.SoundID or nil)
  645.     local SOUNDPITCH = (Table.SoundPitch or nil)
  646.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  647.     coroutine.resume(coroutine.create(function()
  648.         local PLAYSSOUND = false
  649.         local SOUND = nil
  650.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  651.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  652.             PLAYSSOUND = true
  653.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  654.         end
  655.         EFFECT.Color = COLOR
  656.         local MSH = nil
  657.         if TYPE == "Sphere" then
  658.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  659.         elseif TYPE == "Block" then
  660.             MSH = IT("BlockMesh",EFFECT)
  661.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  662.         elseif TYPE == "Wave" then
  663.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  664.         elseif TYPE == "Ring" then
  665.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  666.         elseif TYPE == "Slash" then
  667.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  668.         elseif TYPE == "Round Slash" then
  669.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  670.         elseif TYPE == "Swirl" then
  671.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  672.         elseif TYPE == "Skull" then
  673.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  674.         elseif TYPE == "Crystal" then
  675.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  676.         end
  677.         if MSH ~= nil then
  678.             local MOVESPEED = nil
  679.             if MOVEDIRECTION ~= nil then
  680.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  681.             end
  682.             local GROWTH = SIZE - ENDSIZE
  683.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  684.             if TYPE == "Block" then
  685.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  686.             else
  687.                 EFFECT.CFrame = CFRAME
  688.             end
  689.             for LOOP = 1, TIME+1 do
  690.                 Swait()
  691.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  692.                 if TYPE == "Wave" then
  693.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  694.                 end
  695.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  696.                 if TYPE == "Block" then
  697.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  698.                 else
  699.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  700.                 end
  701.                 if MOVEDIRECTION ~= nil then
  702.                     local ORI = EFFECT.Orientation
  703.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  704.                     EFFECT.Orientation = ORI
  705.                 end
  706.             end
  707.             if PLAYSSOUND == false then
  708.                 EFFECT:remove()
  709.             else
  710.                 repeat Swait() until SOUND.Playing == false
  711.                 EFFECT:remove()
  712.             end
  713.         else
  714.             if PLAYSSOUND == false then
  715.                 EFFECT:remove()
  716.             else
  717.                 repeat Swait() until SOUND.Playing == false
  718.                 EFFECT:remove()
  719.             end
  720.         end
  721.     end))
  722. end
  723. function killnearest(position,range,maxstrength)
  724.     for i,v in ipairs(workspace:GetChildren()) do
  725.     local body = v:GetChildren()
  726.         for part = 1, #body do
  727.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  728.                 if(body[part].Position - position).Magnitude < range then
  729.                     if v.ClassName == "Model" then
  730.                         v:BreakJoints()
  731.                     end
  732.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  733.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  734.                 end
  735.             end
  736.         end
  737.         if v.ClassName == "Part" then
  738.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  739.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  740.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  741.             end
  742.         end
  743.     end
  744. end
  745.  
  746. function CheckTableForString(Table, String)
  747.     for i, v in pairs(Table) do
  748.         if string.find(string.lower(String), string.lower(v)) then
  749.             return true
  750.         end
  751.     end
  752.     return false
  753. end
  754.  
  755. function CheckIntangible(Hit)
  756.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  757.     if Hit and Hit.Parent then
  758.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  759.             return true
  760.         end
  761.     end
  762.     return false
  763. end
  764.  
  765. function MakeForm(PART,TYPE)
  766.     if TYPE == "Cyl" then
  767.         local MSH = IT("CylinderMesh",PART)
  768.     elseif TYPE == "Ball" then
  769.         local MSH = IT("SpecialMesh",PART)
  770.         MSH.MeshType = "Sphere"
  771.     elseif TYPE == "Wedge" then
  772.         local MSH = IT("SpecialMesh",PART)
  773.         MSH.MeshType = "Wedge"
  774.     end
  775. end
  776.  
  777. Debris = game:GetService("Debris")
  778.  
  779. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  780.     local DIRECTION = CF(StartPos,EndPos).lookVector
  781.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  782. end
  783.  
  784. function turnto(position)
  785.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  786. end
  787.  
  788. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  789.     PLAYMAINANIM = false
  790.     if WhichPose == "Cast1" then
  791.         for i=0, Time, 0.1 / Animation_Speed do
  792.             Swait()
  793.             if Magic == true then
  794.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  795.             end
  796.             if Gyro ~= nil and Gyro ~= false then
  797.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  798.             end
  799.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  800.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  801.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  802.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  803.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  804.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  805.         end
  806.     elseif WhichPose == "Cast2" then
  807.         for i=0, Time, 0.1 / Animation_Speed do
  808.             Swait()
  809.             if Magic == true then
  810.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  811.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  812.             end
  813.             if Gyro ~= nil and Gyro ~= false then
  814.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  815.             end
  816.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  817.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  818.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  819.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  820.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  821.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  822.         end
  823.     elseif WhichPose == "RightArmUp" then
  824.         for i=0, Time, 0.1 / Animation_Speed do
  825.             Swait()
  826.             if Magic == true then
  827.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  828.             end
  829.             if Gyro ~= nil and Gyro ~= false then
  830.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  831.             end
  832.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  833.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  834.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  835.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  836.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  837.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  838.         end
  839.     elseif WhichPose == "Taunt" then
  840.         for i=0, Time, 0.1 / Animation_Speed do
  841.             Swait()
  842.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  843.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  844.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  845.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  846.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  847.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  848.         end
  849.         HATWELD.Part0 = RightArm
  850.         HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  851.         CreateSound(221057812,Torso,10,1,false)
  852.         for i=0, Time*2, 0.1 / Animation_Speed do
  853.             Swait()
  854.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  855.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  856.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  857.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  858.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  859.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  860.         end
  861.         for i=0, Time, 0.1 / Animation_Speed do
  862.             Swait()
  863.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  864.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  865.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  866.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  867.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  868.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  869.             HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  870.         end
  871.         HATWELD.Part0 = Head
  872.         HATWELD.C0 = CF(0,0.35,0)
  873.     elseif WhichPose == "Prepare key" then
  874.         for i=0, Time, 0.1 / Animation_Speed do
  875.             Swait()
  876.             if Gyro ~= nil and Gyro ~= false then
  877.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  878.             end
  879.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  880.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  881.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  882.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  883.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  884.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  885.         end
  886.     elseif WhichPose == "Turn key" then
  887.         for i=0, Time, 0.1 / Animation_Speed do
  888.             Swait()
  889.             if Gyro ~= nil and Gyro ~= false then
  890.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  891.             end
  892.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  893.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  894.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  895.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  896.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  897.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  898.         end
  899.     end
  900.     PLAYMAINANIM = true
  901. end
  902.  
  903. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  904. function Lightning(Table)
  905.     local Color = Table.Color or C3(1,1,1)
  906.     local StartPos = Table.Start or Torso.Position
  907.     local EndPos = Table.End or Mouse.Hit.p
  908.     local SegmentLength = Table.SegmentL or 2
  909.     local Thickness = Table.Thickness or 0.1
  910.     local Dissapear = Table.DoesFade or false
  911.     local Parent = Table.Ignore or Character
  912.     local MaxDist = Table.MaxDist or 400
  913.     local Branches = Table.Branches or false
  914.     local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  915.     local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  916.     local LIGHTNINGMODEL = IT("Model",Effects)
  917.     LIGHTNINGMODEL.Name = "Lightning"
  918.     local LastBolt = nil
  919.     for E = 1, DISTANCE do
  920.         local ExtraSize = (DISTANCE-E)/15
  921.         local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  922.         PART.Color = Color
  923.         MakeForm(PART,"Cyl")
  924.         if LastBolt == nil then
  925.             PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  926.         else
  927.             PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  928.         end
  929.         LastBolt = PART
  930.         if Branches == true then
  931.             local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  932.             if CHOICE == 1 then
  933.                 local LASTBRANCH = nil
  934.                 for i = 1, MRANDOM(2,5) do
  935.                     local ExtraSize2 = ((DISTANCE-E)/25)/i
  936.                     local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  937.                     PART.Color = Color
  938.                     MakeForm(PART,"Cyl")
  939.                     if LASTBRANCH == nil then
  940.                         PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  941.                     else
  942.                         PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  943.                     end
  944.                     LASTBRANCH = PART
  945.                 end
  946.             end
  947.         end
  948.     end
  949.     if Dissapear == true then
  950.         coroutine.resume(coroutine.create(function()
  951.             for i = 1, 10 do
  952.                 Swait()
  953.                 for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  954.                     if c.ClassName == "Part" then
  955.                         c.Transparency = i/10
  956.                     end
  957.                 end
  958.             end
  959.             LIGHTNINGMODEL:remove()
  960.         end))
  961.     elseif Dissapear == false then
  962.         Debris:AddItem(LIGHTNINGMODEL,0.1)
  963.     end
  964.     return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  965. end
  966.  
  967. function SpawnTrail(FROM,TO,BIG)
  968.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  969.     MakeForm(TRAIL,"Cyl")
  970.     local DIST = (FROM - TO).Magnitude
  971.     if BIG == true then
  972.         TRAIL.Size = VT(0.5,DIST,0.5)
  973.     else
  974.         TRAIL.Size = VT(0.25,DIST,0.25)
  975.     end
  976.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  977.     coroutine.resume(coroutine.create(function()
  978.         for i = 1, 5 do
  979.             Swait()
  980.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  981.         end
  982.         TRAIL:remove()
  983.     end))
  984. end
  985. --//=================================\\
  986. --||         WEAPON CREATION
  987. --\\=================================//
  988.  
  989. RootPart.Size = RootPart.Size*SIZE
  990. Torso.Size = Torso.Size*SIZE
  991. RightArm.Size = RightArm.Size*SIZE
  992. RightLeg.Size = RightLeg.Size*SIZE
  993. LeftArm.Size = LeftArm.Size*SIZE
  994. LeftLeg.Size = LeftLeg.Size*SIZE
  995. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  996. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  997. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  998. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  999. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1000. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1001. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1002. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1003. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1004. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1005. Head.Size = Head.Size*SIZE
  1006. RootJoint.Parent = RootPart
  1007. Neck.Parent = Torso
  1008. RightShoulder.Parent = Torso
  1009. LeftShoulder.Parent = Torso
  1010. RightHip.Parent = Torso
  1011. LeftHip.Parent = Torso
  1012.  
  1013. Humanoid.DisplayDistanceType = "None"
  1014. local naeeym2 = IT("BillboardGui",Character)
  1015. naeeym2.AlwaysOnTop = true
  1016. naeeym2.Size = UDim2.new(5,35,2,15)
  1017. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1018. naeeym2.MaxDistance = 75
  1019. naeeym2.Adornee = Character.Head
  1020. naeeym2.Name = "Name"
  1021. local tecks2 = IT("TextLabel",naeeym2)
  1022. tecks2.BackgroundTransparency = 1
  1023. tecks2.TextScaled = true
  1024. tecks2.BorderSizePixel = 0
  1025. tecks2.Text = ""
  1026. tecks2.Font = "Antique"
  1027. tecks2.TextSize = 30
  1028. tecks2.TextStrokeTransparency = 0
  1029. tecks2.TextColor3 = C3(1,1,1)
  1030. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  1031. tecks2.Size = UDim2.new(1,0,0.5,0)
  1032. tecks2.Parent = naeeym2
  1033. local top = Instance.new("Shirt")
  1034. top.ShirtTemplate = "rbxassetid://189496455"
  1035. top.Parent = Character
  1036. top.Name = "Cloth"
  1037. local bottom = Instance.new("Pants")
  1038. bottom.PantsTemplate = "rbxassetid://189691360"
  1039. bottom.Parent = Character
  1040. bottom.Name = "Cloth"
  1041. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "White", "Hat", VT(1,1,1),false)
  1042. PRT.Color = C3(0,0,0)
  1043. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1044. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "78923713", VT(1,1,1)*SIZE, VT(0,0,0))
  1045. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1046. PRT.Color = C3(1,1,1)
  1047. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1048. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "299649662", VT(1.05,1.05,1.05)*SIZE, VT(0,0,0))
  1049. local PRT = CreatePart(3, Character, "Neon", 0, 0, "White", "Detail", VT(1,1.2,0.2),false)
  1050. PRT.Color = C3(159/255, 111/255, 183/255)
  1051.  
  1052. for i = 1, 16 do
  1053.     local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "White", "FaceGradient", VT(1*SIZE,0.65*SIZE,1*SIZE),false)
  1054.     FACE.Color = C3(255,255,255)
  1055.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1056.     CreateWeldOrSnapOrMotor("Weld", Character, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1057. end
  1058.  
  1059.  
  1060. local Handle = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.2,0.6,0.2),false)
  1061. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1062. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.2,0.5,0.2),false)
  1063. MakeForm(Part,"Wedge")
  1064. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1065. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.2,0.3,0.2),false)
  1066. MakeForm(Part,"Wedge")
  1067. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1068. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.3,0.3,0.3),false)
  1069. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1070. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.3,0.5,0.5),false)
  1071. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1072. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.4,0.4,0.4),false)
  1073. MakeForm(Part,"Cyl")
  1074. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1075. for i = 1, 8 do
  1076.     local Piece = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Eye", VT(0,0.35,0.41),false)
  1077.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1078. end
  1079. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Eye", VT(0.38,0.41,0.38),false)
  1080. MakeForm(Part,"Cyl")
  1081. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1082. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.37,0.5,0.37),false)
  1083. MakeForm(Part,"Ball")
  1084. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1085. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.2,0.7,0.4),false)
  1086. MakeForm(Part,"Wedge")
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.3,0.4,0.2),false)
  1089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1090. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.35,0.35,0.35),false)
  1091. MakeForm(Part,"Cyl")
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1093. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.5,0.1,0.5),false)
  1094. MakeForm(Part,"Cyl")
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.5,0.1,0.45),false)
  1097. MakeForm(Part,"Cyl")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1099. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.2,0.5,0.2),false)
  1100. MakeForm(Part,"Wedge")
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1102. local LASTPART = Handle
  1103. for i = 1, 10 do
  1104.     if LASTPART == Handle then
  1105.         local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  1106.         LASTPART = Part
  1107.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1108.     else
  1109.         local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  1110.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1111.         LASTPART = Part
  1112.     end
  1113. end
  1114.  
  1115. local Barrel = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.15,2,0.15),false)
  1116. MakeForm(Barrel,"Cyl")
  1117. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1118. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0.25,1,0.25),false)
  1119. MakeForm(Part,"Cyl")
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1121. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0,0.1,0.2),false)
  1122. MakeForm(Part,"Wedge")
  1123. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1124. local Hole = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  1125. MakeForm(Hole,"Cyl")
  1126. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1127. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  1128. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1129. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1130. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  1131. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1132. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1133. coroutine.resume(coroutine.create(function()
  1134.     while wait() do
  1135.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1136.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1137.     end
  1138. end))
  1139. -- UsedGun(Injustice) --
  1140.  
  1141. local Handle2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.2,0.6,0.2),false)
  1142. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1143. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.2,0.5,0.2),false)
  1144. MakeForm(Part,"Wedge")
  1145. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1146. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.2,0.3,0.2),false)
  1147. MakeForm(Part,"Wedge")
  1148. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1149. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.3,0.3,0.3),false)
  1150. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1151. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.3,0.5,0.5),false)
  1152. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1153. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.4,0.4,0.4),false)
  1154. MakeForm(Part,"Cyl")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1156. for i = 1, 8 do
  1157.     local Piece = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Eye", VT(0,0.35,0.41),false)
  1158.     CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1159. end
  1160. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Eye", VT(0.38,0.41,0.38),false)
  1161. MakeForm(Part,"Cyl")
  1162. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1163. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.37,0.5,0.37),false)
  1164. MakeForm(Part,"Ball")
  1165. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1166. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.2,0.7,0.4),false)
  1167. MakeForm(Part,"Wedge")
  1168. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1169. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.3,0.4,0.2),false)
  1170. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1171. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.35,0.35,0.35),false)
  1172. MakeForm(Part,"Cyl")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1174. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.5,0.1,0.5),false)
  1175. MakeForm(Part,"Cyl")
  1176. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1177. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.5,0.1,0.45),false)
  1178. MakeForm(Part,"Cyl")
  1179. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1180. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.2,0.5,0.2),false)
  1181. MakeForm(Part,"Wedge")
  1182. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1183. local LASTPART = Handle2
  1184. for i = 1, 10 do
  1185.     if LASTPART == Handle then
  1186.         local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  1187.         LASTPART = Part
  1188.         CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1189.     else
  1190.         local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  1191.         CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1192.         LASTPART = Part
  1193.     end
  1194. end
  1195.  
  1196. local Barrel2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.15,2,0.15),false)
  1197. MakeForm(Barrel,"Cyl")
  1198. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1199. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0.25,1,0.25),false)
  1200. MakeForm(Part,"Cyl")
  1201. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1202. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0,0.1,0.2),false)
  1203. MakeForm(Part,"Wedge")
  1204. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1205. local Hole2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  1206. MakeForm(Hole,"Cyl")
  1207. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1208. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  1209. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1210. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1211. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  1212. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1213. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1214. coroutine.resume(coroutine.create(function()
  1215.     while wait() do
  1216.         GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1217.         GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1218.     end
  1219. end))
  1220.  
  1221. --- Watch ---
  1222. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1223. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1224. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1225. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1226. MakeForm(PRT,"Cyl")
  1227. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Watch", VT(0.1,0.1,0.1)*SIZE,false)
  1228. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1229. MakeForm(PRT,"Cyl")
  1230. PRT.Color = C3(159/255, 111/255, 183/255)
  1231. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1232. CreateWeldOrSnapOrMotor("Weld", Head, Head, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1233. MakeForm(RING,"Cyl")
  1234. RING.Color = C3(0,0,0)
  1235. for i = 1, 12 do
  1236.     local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1237.     PRT.Color = C3(0,0,0)
  1238.     local MSH = IT("BlockMesh",PRT)
  1239.     MSH.Scale = VT(0.6,1,1)
  1240.     CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1241. end
  1242. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1243. PRT.Color = C3(0,0,0)
  1244. local MSH = IT("BlockMesh",PRT)
  1245. MSH.Scale = VT(0.4,1,1)
  1246. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1247. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "White", "Watch", VT(0.01,0.01,0.01)*SIZE,false)
  1248. PRT.Color = C3(0,0,0)
  1249. local MSH = IT("BlockMesh",PRT)
  1250. MSH.Scale = VT(0.4,1,1)
  1251. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1252. coroutine.resume(coroutine.create(function()
  1253.     while true do
  1254.         Swait()
  1255.         CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1256.         WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1257.         WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1258.         if CLOCKLOOP <= -150 then
  1259.             if VALUE1 == false then
  1260.                 CLOCKLOOP = 0
  1261.                 WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(1.5,1.5,1.5), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 0.5})
  1262.                 local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1263.                 ApplyAoE(HITPOS,10,15,45,75,false)
  1264.                 WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(0.11,0.11,0.11)*SIZE, Size2 = VT(0.11,0.11,0.11), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1265.                 WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(0.11,0.11,0.11)*SIZE, Size2 = VT(0.11,0.11,0.11), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1266.                 if CLOCKTARGET ~= nil then
  1267.                     CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1268.                     if CLOCKTARGET.Torso ~= nil then
  1269.                         CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1270.                     end
  1271.                     if CLOCKTARGET.Health == 0 then
  1272.                         CLOCKTARGET = nil
  1273.                     end
  1274.                 end
  1275.             end
  1276.         end
  1277.     end
  1278. end))
  1279.  
  1280. for _, c in pairs(Weapon:GetChildren()) do
  1281.     if c.ClassName == "Part" then
  1282.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1283.     end
  1284. end
  1285.  
  1286. Neck.Name = "Weld"
  1287. RootJoint.Name = "Weld"
  1288. RightShoulder.Name = "Weld"
  1289. LeftShoulder.Name = "Weld"
  1290. RightHip.Name = "Weld"
  1291. LeftHip.Name = "Weld"
  1292.  
  1293. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1294. local SKILLFONT = "Fantasy"
  1295. local SKILLTEXTSIZE = 7
  1296.  
  1297. Weapon.Parent = Character
  1298. Humanoid.Parent = Character
  1299.  
  1300. Humanoid.Died:connect(function()
  1301.     ATTACK = true
  1302. end)
  1303.  
  1304. function printbye(Name)
  1305.     local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1306.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1307. end
  1308.  
  1309. workspace.ChildAdded:connect(function(instance)
  1310.     for BANISH = 1, #TOBANISH do
  1311.         if TOBANISH[BANISH] ~= nil then
  1312.             if instance.Name == TOBANISH[BANISH] then
  1313.                 coroutine.resume(coroutine.create(function()
  1314.                     printbye(instance.Name)
  1315.                     instance:ClearAllChildren()
  1316.                     Debris:AddItem(instance,0.0005)
  1317.                 end))
  1318.             end
  1319.         end
  1320.     end
  1321. end)
  1322.  
  1323. --//=================================\\
  1324. --||            DAMAGING
  1325. --\\=================================//
  1326.  
  1327. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1328.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1329.     defence.Name = ("HitBy"..Player.Name)
  1330.     game:GetService("Debris"):AddItem(defence, 0.001)
  1331.     Damage = Damage * DAMAGEMULTIPLIER
  1332.     if Humanoid.Health ~= 0 then
  1333.         local CritChance = MRANDOM(1,100)
  1334.         if Damage > Humanoid.Health then
  1335.             Damage = math.ceil(Humanoid.Health)
  1336.             if Damage == 0 then
  1337.                 Damage = 0.1
  1338.             end
  1339.         end
  1340.         Humanoid.Health = Humanoid.Health - Damage
  1341.     end
  1342. end
  1343.  
  1344. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1345.     local CHILDREN = workspace:GetDescendants()
  1346.     for index, CHILD in pairs(CHILDREN) do
  1347.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1348.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1349.             if HUM then
  1350.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1351.                 if TORSO then
  1352.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1353.                         if INSTAKILL == true then
  1354.                             CHILD:BreakJoints()
  1355.                         else
  1356.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1357.                             ApplyDamage(HUM,DMG,TORSO)
  1358.                         end
  1359.                         if FLING > 0 then
  1360.                             for _, c in pairs(CHILD:GetChildren()) do
  1361.                                 if c:IsA("BasePart") then
  1362.                                     local bv = Instance.new("BodyVelocity")
  1363.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1364.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1365.                                     bv.Parent = c
  1366.                                     Debris:AddItem(bv,0.05)
  1367.                                 end
  1368.                             end
  1369.                         end
  1370.                     end
  1371.                 end
  1372.             end
  1373.         end
  1374.     end
  1375. end
  1376.  
  1377. function MagicSphere2(size,waitt,cframe,color)
  1378.     local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1379.     local mesh = IT("SpecialMesh",wave)
  1380.     mesh.MeshType = "Sphere"
  1381.     mesh.Scale = VT(size,size,size)
  1382.     mesh.Offset = VT(0,0,0)
  1383.     wave.CFrame = cframe
  1384.     coroutine.resume(coroutine.create(function(PART)
  1385.         for i = 1, waitt do
  1386.             Swait()
  1387.             mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1388.             wave.Transparency = wave.Transparency - (1/waitt)
  1389.         end
  1390.         wave:remove()
  1391.     end))
  1392. end
  1393.  
  1394. function MagicSphere(size,waitt,cframe,color)
  1395.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1396.     local mesh = IT("SpecialMesh",wave)
  1397.     mesh.MeshType = "Sphere"
  1398.     mesh.Scale = VT(size,size,size)
  1399.     mesh.Offset = VT(0,0,0)
  1400.     wave.CFrame = cframe
  1401.     coroutine.resume(coroutine.create(function(PART)
  1402.         for i = 1, waitt do
  1403.             Swait()
  1404.             mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1405.             wave.Transparency = wave.Transparency + (1/waitt)
  1406.             if wave.Transparency > 0.99 then
  1407.                 wave:remove()
  1408.             end
  1409.         end
  1410.     end))
  1411. end
  1412.  
  1413. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1414.     local Direction = CFrame.new(StartPos, Vec).lookVector
  1415.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1416.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1417.     if RayHit and CheckIntangible(RayHit) then
  1418.         if DelayIfHit then
  1419.             wait()
  1420.         end
  1421.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1422.     end
  1423.     return RayHit, RayPos, RayNormal
  1424. end
  1425.  
  1426. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1427.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1428.     local mesh = IT("SpecialMesh",wave)
  1429.     mesh.MeshType = "FileMesh"
  1430.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1431.     mesh.Scale = VT(size,size,size)
  1432.     wave.CFrame = cframe
  1433.     coroutine.resume(coroutine.create(function(PART)
  1434.         for i = 1, waitt do
  1435.             Swait()
  1436.             mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1437.             if doesrotate == true then
  1438.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1439.             end
  1440.             wave.Transparency = wave.Transparency + (0.5/waitt)
  1441.             if wave.Transparency > 0.99 then
  1442.                 wave:remove()
  1443.             end
  1444.         end
  1445.     end))
  1446. end
  1447.  
  1448. local Particle = IT("ParticleEmitter",nil)
  1449. Particle.Enabled = false
  1450. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1451. Particle.LightEmission = 0.5
  1452. Particle.Rate = 150
  1453. Particle.ZOffset = 0.2
  1454. Particle.Rotation = NumberRange.new(-180, 180)
  1455. Particle.RotSpeed = NumberRange.new(-180, 180)
  1456. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1457. Particle.Color = ColorSequence.new(C3(255,255,255),C3(255,255,255))
  1458.  
  1459. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1460. function ParticleEmitter(Table)
  1461.     local PRTCL = Particle:Clone()
  1462.     local Speed = Table.Speed or 5
  1463.     local Drag = Table.Drag or 0
  1464.     local Size1 = Table.Size1 or 1
  1465.     local Size2 = Table.Size2 or 5
  1466.     local Lifetime1 = Table.Lifetime1 or 1
  1467.     local Lifetime2 = Table.Lifetime2 or 1.5
  1468.     local Parent = Table.Parent or Torso
  1469.     local Emit = Table.Emit or 100
  1470.     local Offset = Table.Offset or 360
  1471.     local Acel = Table.Acel or VT(0,0,0)
  1472.     local Enabled = Table.Enabled or false
  1473.     PRTCL.Parent = Parent
  1474.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  1475.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1476.     PRTCL.Speed = NumberRange.new(Speed)
  1477.     PRTCL.VelocitySpread = Offset
  1478.     PRTCL.Drag = Drag
  1479.     PRTCL.Acceleration = Acel
  1480.     if Enabled == false then
  1481.         PRTCL:Emit(Emit)
  1482.         Debris:AddItem(PRTCL,Lifetime2)
  1483.     else
  1484.         PRTCL.Enabled = true
  1485.     end
  1486.     return PRTCL
  1487. end
  1488.  
  1489. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1490. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1491. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1492. MakeForm(Part,"Wedge")
  1493. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1494. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1495. MakeForm(Part,"Wedge")
  1496. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1497. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1498. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1499. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1500. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1501. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1502. MakeForm(Part,"Cyl")
  1503. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1504. for i = 1, 8 do
  1505.     local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1506.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1507. end
  1508. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1509. MakeForm(Part,"Cyl")
  1510. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1511. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1512. MakeForm(Part,"Ball")
  1513. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1514. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1515. MakeForm(Part,"Wedge")
  1516. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1517. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1518. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1519. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1520. MakeForm(Part,"Cyl")
  1521. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1522. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1523. MakeForm(Part,"Cyl")
  1524. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1525. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1526. MakeForm(Part,"Cyl")
  1527. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1528. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1529. MakeForm(Part,"Wedge")
  1530. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1531. local LASTPART = Handle
  1532. for i = 1, 10 do
  1533.     if LASTPART == Handle then
  1534.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1535.         LASTPART = Part
  1536.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1537.     else
  1538.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1539.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1540.         LASTPART = Part
  1541.     end
  1542. end
  1543.  
  1544. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1545. MakeForm(Barrel,"Cyl")
  1546. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1547. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1548. MakeForm(Part,"Cyl")
  1549. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1550. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1551. MakeForm(Part,"Wedge")
  1552. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1553. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1554. MakeForm(Hole,"Cyl")
  1555. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1556. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1557. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1558. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1559. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1560. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1561. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1562. coroutine.resume(coroutine.create(function()
  1563.     while wait() do
  1564.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1565.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1566.     end
  1567. end))
  1568.  
  1569. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1570. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1571.  
  1572. for _, c in pairs(Weapon:GetDescendants()) do
  1573.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1574.         c.Material = "Glass"
  1575.         c.Color = C3(255,255,255)
  1576.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1577.         c.Color = C3(255,255,255)
  1578.         c.Material = "Neon"
  1579.     end
  1580. end
  1581.  
  1582.  
  1583. --//=================================\\
  1584. --||    ATTACK FUNCTIONS AND STUFF
  1585. --\\=================================//
  1586.  
  1587. function MagicMissiles()
  1588.     ATTACK = true
  1589.     Rooted = true
  1590.     local SELECTING = true
  1591.     local SPOTS = {}
  1592.     coroutine.resume(coroutine.create(function()
  1593.         local LOOP = 0
  1594.         repeat
  1595.             LOOP = LOOP + 1
  1596.             Swait()
  1597.             if LOOP >= 20 then
  1598.                 LOOP = 0
  1599.                 for i = 1, #SPOTS do
  1600.                     if SPOTS[i] ~= nil then
  1601.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1602.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1603.                     end
  1604.                 end
  1605.             end
  1606.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1607.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1608.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1609.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1610.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1611.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1612.         until SELECTING == false
  1613.         Rooted = false
  1614.         repeat
  1615.             LOOP = LOOP + 1
  1616.             Swait()
  1617.             if LOOP >= 20 then
  1618.                 LOOP = 0
  1619.                 for i = 1, #SPOTS do
  1620.                     if SPOTS[i] ~= nil then
  1621.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1622.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1623.                     end
  1624.                 end
  1625.             end
  1626.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1627.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1628.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1629.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1630.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1631.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1632.         until ATTACK == false
  1633.     end))
  1634.     repeat
  1635.         repeat Swait() until HOLD == true
  1636.             local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1637.             if DIST > 9999 then
  1638.                 DIST = 9999
  1639.             end
  1640.             local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1641.             local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)   
  1642.             if HITFLOOR ~= nil then
  1643.                 table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1644.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1645.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1646.             end
  1647.         repeat Swait() until HOLD == false
  1648.     until #SPOTS == 15
  1649.     SELECTING = false
  1650.     for i = 1, #SPOTS do
  1651.         if SPOTS[i] ~= nil then
  1652.             local POS = SPOTS[i]
  1653.             coroutine.resume(coroutine.create(function()
  1654.                 local MISSILE = IT("Model",Effects)
  1655.                 MISSILE.Name = "Missile"
  1656.                 local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  1657.                 MakeForm(BASEPART,"Cyl")
  1658.                 MISSILE.PrimaryPart = BASEPART
  1659.                 BASEPART.CFrame = POS*CF(0,-30*3,0)
  1660.                 local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  1661.                 MakeForm(HEAD,"Ball")
  1662.                 HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1663.                 local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  1664.                 MakeForm(TAIL,"Cyl")
  1665.                 TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1666.                 for i = 1, 10 do
  1667.                     Swait()
  1668.                     for _, c in pairs(MISSILE:GetChildren()) do
  1669.                         if c.ClassName == "Part" then
  1670.                             c.Transparency = c.Transparency - 1/10
  1671.                         end
  1672.                     end
  1673.                 end
  1674.                 for i = 1, 15*1.5 do
  1675.                     Swait()
  1676.                     MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1677.                 end
  1678.                 ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1679.                 WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1680.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1681.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1682.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1683.                 MISSILE:remove()
  1684.             end))
  1685.         end
  1686.     end
  1687.     wait(0.6)
  1688.     ATTACK = false
  1689.     Rooted = false
  1690. end
  1691.  
  1692.  
  1693.  
  1694. function TimesUp()
  1695.     CLOCKTARGET = nil
  1696.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1697.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1698.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1699.         if TORSO then
  1700.             ATTACK = true
  1701.             Rooted = false
  1702.             coroutine.resume(coroutine.create(function()
  1703.                 repeat
  1704.                     Swait()
  1705.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1706.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1708.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1709.                     RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1710.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1711.                 until ATTACK == false
  1712.             end))
  1713.             if Effects:FindFirstChild("NeonDoll") then
  1714.                 repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1715.             end
  1716.             wait(0.5)
  1717.             local FAKECHARACTER = IT("Model",Effects)
  1718.             FAKECHARACTER.Name = "NeonDoll"
  1719.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1720.             CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1721.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1722.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1723.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1724.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1725.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1726.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1727.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1728.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1729.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1730.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1731.             CreateSound(201858045, TORS, 5, 0.4, false)
  1732.             for i = 1, 150 do
  1733.                 Swait()
  1734.                 CLOCKSPEED = 100
  1735.                 for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1736.                     if c.ClassName == "Part" then
  1737.                         c.Transparency = c.Transparency - 0.5/150
  1738.                     end
  1739.                 end
  1740.             end
  1741.             CLOCKTARGET = HUM
  1742.             coroutine.resume(coroutine.create(function()
  1743.                 repeat Swait() CLOCKSPEED = 100 until CLOCKTARGET == nil
  1744.                 for i = 1, 25 do
  1745.                     Swait()
  1746.                     for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1747.                         if c.ClassName == "Part" then
  1748.                             c.Transparency = c.Transparency + 0.5/25
  1749.                         end
  1750.                     end
  1751.                 end
  1752.                 CLOCKSPEED = 100
  1753.                 FAKECHARACTER:remove()
  1754.             end))
  1755.             wait(0.5)
  1756.             ATTACK = false
  1757.             Rooted = false
  1758.         end
  1759.     end
  1760. end
  1761.  
  1762. function ChainPunch()
  1763.     ATTACK = true
  1764.     Rooted = false
  1765.     local GYRO = IT("BodyGyro",RootPart)
  1766.     GYRO.D = 25
  1767.     GYRO.P = 2000
  1768.     GYRO.MaxTorque = VT(0,40000,0)
  1769.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1770.     repeat
  1771.         Swait()
  1772.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1773.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1774.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1775.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1776.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1777.         RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1778.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1779.     until HOLD == true
  1780.     local POS = Mouse.Hit.p
  1781.     local CHAINS = false
  1782.     local CHAINLINKS = {}
  1783.     local A = IT("Attachment",RightArm)
  1784.     A.Position = VT(1,-1,0)*SIZE
  1785.     A.Orientation = VT(-90, -89.982, 0)
  1786.     local B = IT("Attachment",RightArm)
  1787.     B.Position = VT(-1,-1,0)*SIZE
  1788.     B.Orientation = VT(-90, 89.988, 0)
  1789.     local C = IT("Attachment",RightArm)
  1790.     C.Position = VT(0.5,-1.3,0)*SIZE
  1791.     C.Orientation = VT(-90, -89.982, 0)
  1792.     local D = IT("Attachment",RightArm)
  1793.     D.Position = VT(-0.5,-1.3,0)*SIZE
  1794.     D.Orientation = VT(-90, 89.988, 0)
  1795.     local LIGHT = IT("Attachment",RightArm)
  1796.     LIGHT.Position = VT(0,-1,0)*SIZE
  1797.     local LIGHT2 = IT("PointLight",LIGHT)
  1798.     LIGHT2.Range = 7
  1799.     LIGHT2.Brightness = 5
  1800.     LIGHT2.Color = SKILLTEXTCOLOR
  1801.     for i = 1, 2 do
  1802.         local TWIST = -2
  1803.         local START = A
  1804.         local END = B
  1805.         if i == 1 then
  1806.             START = B
  1807.             END = A
  1808.         end
  1809.         local ChainLink = IT("Beam",Torso)
  1810.         ChainLink.Texture = "rbxassetid://73042633"
  1811.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1812.         ChainLink.TextureSpeed = 1
  1813.         ChainLink.Width0 = 1
  1814.         ChainLink.Width1 = 1
  1815.         ChainLink.TextureLength = 2.5
  1816.         ChainLink.Attachment0 = START
  1817.         ChainLink.Attachment1 = END
  1818.         ChainLink.CurveSize0 = TWIST
  1819.         ChainLink.CurveSize1 = TWIST
  1820.         --ChainLink.FaceCamera = true
  1821.         ChainLink.Segments = 45
  1822.         ChainLink.Transparency = NumberSequence.new(1)
  1823.         table.insert(CHAINLINKS,ChainLink)
  1824.     end
  1825.     for i = 1, 2 do
  1826.         local TWIST = -1
  1827.         local START = C
  1828.         local END = D
  1829.         if i == 1 then
  1830.             START = D
  1831.             END = C
  1832.         end
  1833.         local ChainLink = IT("Beam",Torso)
  1834.         ChainLink.Texture = "rbxassetid://73042633"
  1835.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1836.         ChainLink.TextureSpeed = 1
  1837.         ChainLink.Width0 = 1
  1838.         ChainLink.Width1 = 1
  1839.         ChainLink.TextureLength = 5
  1840.         ChainLink.Attachment0 = START
  1841.         ChainLink.Attachment1 = END
  1842.         ChainLink.CurveSize0 = TWIST
  1843.         ChainLink.CurveSize1 = TWIST
  1844.         --ChainLink.FaceCamera = true
  1845.         ChainLink.Segments = 25
  1846.         ChainLink.LightEmission = 0.5
  1847.         ChainLink.Transparency = NumberSequence.new(1)
  1848.         table.insert(CHAINLINKS,ChainLink)
  1849.     end
  1850.     coroutine.resume(coroutine.create(function()
  1851.         repeat
  1852.             Swait()
  1853.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1854.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1855.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1856.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1857.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1859.         until CHAINS == true
  1860.         repeat
  1861.             Swait()
  1862.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1863.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1864.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1865.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1866.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1867.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1868.         until ATTACK == false
  1869.         for e = 1, 15 do
  1870.             Swait()
  1871.             for i = 1, #CHAINLINKS do
  1872.                 CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1873.             end
  1874.         end
  1875.         A:remove()
  1876.         B:remove()
  1877.         C:remove()
  1878.         D:remove()
  1879.     end))
  1880.     CreateSound(233856115, RightArm, 5, 1.2, false)
  1881.     for e = 1, 15 do
  1882.         Swait()
  1883.         for i = 1, #CHAINLINKS do
  1884.             CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1885.         end
  1886.     end
  1887.     CHAINS = true
  1888.     Rooted = true
  1889.     wait(0.25)
  1890.     local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1891.     FIST.Color = C3(1, 215/255, 1)
  1892.     FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1893.     local LIGHT3 = IT("PointLight",FIST)
  1894.     LIGHT3.Range = 7
  1895.     LIGHT3.Brightness = 5
  1896.     LIGHT3.Color = SKILLTEXTCOLOR
  1897.     CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1898.     local FISTA = IT("Attachment",FIST)
  1899.     FISTA.Position = VT(0.062, 0.977, 0)
  1900.     local ChainLink = IT("Beam",Torso)
  1901.     ChainLink.Texture = "rbxassetid://73042633"
  1902.     ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1903.     ChainLink.TextureSpeed = 0
  1904.     ChainLink.Width0 = 3
  1905.     ChainLink.Width1 = 3
  1906.     ChainLink.TextureLength = 12
  1907.     ChainLink.Attachment0 = LIGHT
  1908.     ChainLink.Attachment1 = FISTA
  1909.     ChainLink.FaceCamera = true
  1910.     ChainLink.Segments = 45
  1911.     ChainLink.LightEmission = 0.5
  1912.     ChainLink.Transparency = NumberSequence.new(0.25)
  1913.     local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1914.     for i = 1, 85 do
  1915.         Swait()
  1916.         FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1917.         ChainLink.TextureLength = 12+(i*2)
  1918.         ApplyAoE(FIST.Position,40,15,20,100,false)
  1919.         WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(20,0,20), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1920.         local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1921.         if HITFLOOR ~= nil then
  1922.             HITFLOOR:BreakJoints()
  1923.             coroutine.resume(coroutine.create(function()
  1924.                 for i = 1, 15 do
  1925.                     Swait()
  1926.                     FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1927.                     ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1928.                     WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(60,3,60), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1929.                 end
  1930.             end))
  1931.             break
  1932.         end
  1933.     end
  1934.     coroutine.resume(coroutine.create(function()
  1935.         for i = 1, 50 do
  1936.             Swait()
  1937.             FIST.Transparency = FIST.Transparency + 0.5/50
  1938.             LIGHT3.Range = LIGHT3.Range - 7/50
  1939.         end
  1940.         FIST:remove()
  1941.     end))
  1942.     LIGHT:remove()
  1943.     GYRO:remove()
  1944.     ATTACK = false
  1945.     Rooted = false
  1946. end
  1947.  
  1948. function WarpMeteor()
  1949.     local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1950.     if DIST > 180 then
  1951.         DIST = 180
  1952.     end
  1953.     local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1954.     local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1955.     if HITFLOOR then
  1956.         local POS = HITPOS 
  1957.         ATTACK = true
  1958.         Rooted = true
  1959.         local WARPED = false
  1960.         local SMASHED = false
  1961.         local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1962.         coroutine.resume(coroutine.create(function()
  1963.             repeat
  1964.                 Swait()
  1965.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1966.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1967.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1968.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1969.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1970.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1971.             until WARPED == true
  1972.             repeat
  1973.                 Swait()
  1974.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1975.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1976.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1977.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1978.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1979.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1980.             until SMASHED == true
  1981.             repeat
  1982.                 Swait()
  1983.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1984.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  1985.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1986.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1987.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1988.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1989.             until ATTACK == false
  1990.         end))
  1991.         VALUE1 = true
  1992.         CreateSound(233856115, Torso, 5, 1.6, false)
  1993.         for i = 1, 25 do
  1994.             Swait()
  1995.             for _, c in pairs(Character:GetChildren()) do
  1996.                 if c.ClassName == "Part" then
  1997.                     c.Transparency = c.Transparency + 1/25
  1998.                 end
  1999.             end
  2000.             for _, c in pairs(Weapon:GetChildren()) do
  2001.                 if c.ClassName == "Part" then
  2002.                     c.Transparency = c.Transparency + 1/25
  2003.                 end
  2004.             end
  2005.         end
  2006.         UNANCHOR = false
  2007.         RootPart.Anchored = true
  2008.         RootPart.Velocity = VT(0,0,0)
  2009.         local ROOTPOS = RootPart.Position
  2010.         RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2011.         WARPED = true
  2012.         for i = 1, 25 do
  2013.             Swait()
  2014.             for _, c in pairs(Character:GetChildren()) do
  2015.                 if c.ClassName == "Part" then
  2016.                     c.Transparency = c.Transparency - 1/25
  2017.                 end
  2018.             end
  2019.             for _, c in pairs(Weapon:GetChildren()) do
  2020.                 if c.ClassName == "Part" then
  2021.                     c.Transparency = c.Transparency - 1/25
  2022.                 end
  2023.             end
  2024.         end
  2025.         local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  2026.         SHELL.CFrame = RootPart.CFrame
  2027.         MakeForm(SHELL,"Ball")
  2028.         CreateSound(402981977, SHELL, 5, 1.6, false)
  2029.         for i = 1, 10 do
  2030.             Swait()
  2031.             SHELL.Transparency = SHELL.Transparency - 1/10
  2032.             SHELL.Size = SHELL.Size + VT(2,2,2)*1.8
  2033.         end
  2034.         for i = 1, math.ceil(75/2) do
  2035.             Swait()
  2036.             RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2037.             SHELL.CFrame = CF(RootPart.Position)
  2038.             WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(10,6,10), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2039.         end
  2040.         RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2041.         SHELL.CFrame = CF(RootPart.Position)
  2042.         WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(100,100,100)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2043.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2044.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2045.         for i = 1, 5 do
  2046.             WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(50,5,50)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2047.         end
  2048.         SHELL:remove()
  2049.         ApplyAoE(RootPart.Position,75,35,75,300,false)
  2050.         SMASHED = true
  2051.         wait(1)
  2052.         VALUE1 = false
  2053.         UNANCHOR = true
  2054.         ATTACK = false
  2055.         Rooted = false
  2056.     end
  2057. end
  2058. function Bullet()
  2059.     ATTACK = true
  2060.     Rooted = false
  2061.     InjusticeGun2.Parent = Character
  2062.     WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2063.     InjusticeGun.Parent = nil
  2064.     for i=0, 0.4, 0.1 / Animation_Speed do
  2065.         Swait()
  2066.         turnto(Mouse.Hit.p)
  2067.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2068.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2069.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2070.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2071.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2072.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2073.     end
  2074.     repeat
  2075.         for i=0, 0.2, 0.1 / Animation_Speed do
  2076.             Swait()
  2077.             turnto(Mouse.Hit.p)
  2078.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  2079.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  2080.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2081.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2082.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2083.         end
  2084.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2085.         SpawnTrail(Hole2.Position,POS)
  2086.         ApplyAoE(POS,3,5,15,0,false)
  2087.         if HIT ~= nil then
  2088.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2089.             end
  2090.         end
  2091.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,255,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2092.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2093.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2094.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2095.         for i=0, 0.3, 0.1 / Animation_Speed do
  2096.             Swait()
  2097.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  2098.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  2099.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2100.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2101.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2102.         end
  2103.     until KEYHOLD == false
  2104.     InjusticeGun2.Parent = nil
  2105.     InjusticeGun.Parent = Character
  2106.     WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2107.     WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2108.     ATTACK = false
  2109.     Rooted = false
  2110. end
  2111.  
  2112. function PandorasBox()
  2113.     local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2114.     if HITFLOOR ~= nil then
  2115.         ATTACK = true
  2116.         Rooted = true
  2117.         local RINGSPIN = true
  2118.         local CONSTRUCTING = true
  2119.         local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2120.         RING.Color = C3(0,0,0)
  2121.         MakeForm(RING,"Cyl")
  2122.         RING.CFrame = CF(HITPOS)
  2123.         CreateSound(402981977, RING, 5, 1.2, false)
  2124.         coroutine.resume(coroutine.create(function()
  2125.             repeat
  2126.                 Swait()
  2127.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2128.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2129.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2130.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2131.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2132.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2133.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2134.             until CONSTRUCTING == false
  2135.             repeat
  2136.                 Swait()
  2137.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2138.             until RINGSPIN == false
  2139.             for i = 1, 25 do
  2140.                 Swait()
  2141.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2142.                 RING.Size = RING.Size - VT(0.15,0,0.15)
  2143.                 --DECAL.Transparency = DECAL.Transparency + 1/25
  2144.                 RING.Transparency = RING.Transparency + 1/25
  2145.             end
  2146.             RING:remove()
  2147.         end))
  2148.         for i = 1, 15 do
  2149.             Swait()
  2150.             RING.Size = RING.Size + VT(0.75,0,0.75)
  2151.             RING.Transparency = RING.Transparency - 1/15
  2152.         end
  2153.         local BOXSPIN = true
  2154.         local PANDORASBOX = IT("Model",Effects)
  2155.         PANDORASBOX.Name = "Pandora's Box"
  2156.         local BOX = IT("Model",PANDORASBOX)
  2157.         BOX.Name = "Body"
  2158.         local LID = IT("Model",PANDORASBOX)
  2159.         LID.Name = "Lid"
  2160.         --BUILDING THE BOX--
  2161.             local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  2162.             BASE.Color = C3(0,0,0)
  2163.             PANDORASBOX.PrimaryPart = BASE
  2164.             BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2165.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2166.             WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2167.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2168.             WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2169.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2170.             WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2171.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2172.             WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2173.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2174.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2175.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2176.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2177.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2178.             WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2179.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2180.             WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2181.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2182.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2183.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2184.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2185.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2186.             WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2187.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2188.             WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2189.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2190.             WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2191.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2192.             WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2193.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2194.             WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2195.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2196.             WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2197.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2198.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2199.             -------------
  2200.             local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2201.             LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2202.             LID.PrimaryPart = LIDPART
  2203.             local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2204.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2205.             local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2206.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2207.             local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2208.             WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2209.             local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2210.             WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2211.             local DECAL = IT("Decal",LIDPART)
  2212.             DECAL.Face = "Top"
  2213.             DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2214.             DECAL.Color3 = C3(0,0,0)
  2215.         --BUILDING THE BOX--
  2216.         coroutine.resume(coroutine.create(function()
  2217.             repeat
  2218.                 Swait()
  2219.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2220.             until BOXSPIN == false
  2221.         end))
  2222.         for i = 1, 25 do
  2223.             Swait()
  2224.             PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2225.         end
  2226.         wait(0.5)
  2227.         BOXSPIN = false
  2228.         CONSTRUCTING = false   
  2229.         coroutine.resume(coroutine.create(function()
  2230.             WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  2231.             --[[for i = 1, 45 do
  2232.                 Swait()
  2233.                 LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2234.             end-
  2235.             LID:remove()]]--
  2236.             for _, c in pairs(LID:GetChildren()) do
  2237.                 if c.ClassName == "Part" then
  2238.                     c.Anchored = false
  2239.                     c.CanCollide = true
  2240.                     if c ~= LIDPART then
  2241.                         weldBetween(LIDPART,c)
  2242.                     end
  2243.                 end
  2244.             end
  2245.             LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2246.             Debris:AddItem(LID,15)
  2247.             wait(0.5)
  2248.             local RANDOMEFFECT = MRANDOM(1,4)
  2249.             if RANDOMEFFECT == 1 then
  2250.                 for i = 1, 45 do
  2251.                     wait((2-(i/15))/15)
  2252.                     WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  2253.                 end
  2254.                 wait(1)
  2255.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2256.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  2257.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2258.                 for i = 1, 5 do
  2259.                     WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(60,6,60)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2260.                 end
  2261.                 ApplyAoE(BASE.Position,50,1,200,375,false)
  2262.                 ApplyAoE(BASE.Position,250,35,75,475,false)
  2263.             elseif RANDOMEFFECT == 2 then
  2264.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2265.                 FIELD.CFrame = BASE.CFrame
  2266.                 MakeForm(FIELD,"Ball")
  2267.                 for i = 1, 50 do
  2268.                     Swait()
  2269.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2270.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2271.                 end
  2272.                 wait(0.2)
  2273.                 local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2274.                 coroutine.resume(coroutine.create(function()
  2275.                     for i = 1, 75 do
  2276.                         Swait()
  2277.                         LOOP.Volume = LOOP.Volume + 10/75
  2278.                         LOOP.Parent = FIELD
  2279.                         local CHILDREN = workspace:GetDescendants()
  2280.                         for index, CHILD in pairs(CHILDREN) do
  2281.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2282.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2283.                                 if HUM then
  2284.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2285.                                     if TORSO then
  2286.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2287.                                             HUM.Health = HUM.Health - 0.1
  2288.                                             TORSO.Velocity = VT(0,5,0)
  2289.                                             HUM.PlatformStand = true
  2290.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2291.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2292.                                             end
  2293.                                         end
  2294.                                     end
  2295.                                 end
  2296.                             end
  2297.                         end
  2298.                         FIELD.Size = FIELD.Size + VT(6,6,6)
  2299.                         FIELD.Transparency = FIELD.Transparency + 0.8/75
  2300.                     end
  2301.                     for i = 1, 500 do
  2302.                         Swait()
  2303.                         LOOP.Parent = FIELD
  2304.                         local CHILDREN = workspace:GetDescendants()
  2305.                         for index, CHILD in pairs(CHILDREN) do
  2306.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2307.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2308.                                 if HUM then
  2309.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2310.                                     if TORSO then
  2311.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2312.                                             TORSO.Velocity = VT(0,5,0)
  2313.                                             HUM.Health = HUM.Health - 0.1
  2314.                                             HUM.PlatformStand = true
  2315.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2316.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2317.                                             end
  2318.                                         end
  2319.                                     end
  2320.                                 end
  2321.                             end
  2322.                         end
  2323.                     end
  2324.                     for i = 1, 25 do
  2325.                         Swait()
  2326.                         LOOP.Volume = LOOP.Volume + 10/25
  2327.                         LOOP.Parent = FIELD
  2328.                         local CHILDREN = workspace:GetDescendants()
  2329.                         for index, CHILD in pairs(CHILDREN) do
  2330.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2331.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2332.                                 if HUM then
  2333.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2334.                                     if TORSO then
  2335.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2336.                                             TORSO.Velocity = VT(0,5,0)
  2337.                                             HUM.Health = HUM.Health - 0.1
  2338.                                             HUM.PlatformStand = false
  2339.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2340.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2341.                                             end
  2342.                                         end
  2343.                                     end
  2344.                                 end
  2345.                             end
  2346.                         end
  2347.                         FIELD.Size = FIELD.Size - VT(9,9,9)
  2348.                         FIELD.Transparency = FIELD.Transparency + 0.2/25
  2349.                     end
  2350.                     FIELD:remove()
  2351.                 end))
  2352.             elseif RANDOMEFFECT == 3 then
  2353.                 for i = 1, 20 do
  2354.                     wait(0.15)
  2355.                     WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  2356.                     coroutine.resume(coroutine.create(function()
  2357.                         local MINION = CLONE:Clone()
  2358.                         MINION.Parent = Effects
  2359.                         MINION.Name = "Shadow"
  2360.                         MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2361.                         MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2362.                         for _, c in pairs(MINION:GetChildren()) do
  2363.                             if c.ClassName == "Part" then
  2364.                                 c.Material = "Neon"
  2365.                                 c.Color = C3(0,0,0)
  2366.                                 c.Transparency = 0.25
  2367.                                 if c.Name == "Head" then
  2368.                                     c:ClearAllChildren()
  2369.                                     local MSH = IT("BlockMesh",c)
  2370.                                     MSH.Scale = VT(0.5,1,1)
  2371.                                 end
  2372.                             end
  2373.                         end
  2374.                         local TORSO = MINION.Torso
  2375.                         local HUMAN = MINION.Humanoid
  2376.                         HUMAN.WalkSpeed = 20
  2377.                         HUMAN.MaxHealth = math.huge
  2378.                         HUMAN.Health = math.huge
  2379.                         HUMAN.DisplayDistanceType = "None"
  2380.                         HUMAN.Died:connect(function()
  2381.                             MINION:remove()
  2382.                             --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2383.                         end)
  2384.                         wait(1)
  2385.                         local findNearestTorso = function(POS)
  2386.                             local list = game.Workspace:GetDescendants()
  2387.                             local torso = nil
  2388.                             local dist = 500
  2389.                             local temp = nil
  2390.                             local human = nil
  2391.                             local temp2 = nil
  2392.                             for x = 1, #list do
  2393.                                 temp2 = list[x]
  2394.                                 if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2395.                                     temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2396.                                     human = temp2:findFirstChildOfClass("Humanoid")
  2397.                                     if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2398.                                         if (temp.Position - POS).magnitude < dist then
  2399.                                             torso = temp
  2400.                                             dist = (temp.Position - POS).magnitude
  2401.                                         end
  2402.                                     end
  2403.                                 end
  2404.                             end
  2405.                             return torso, dist
  2406.                         end
  2407.                         for i = 1, 40 do
  2408.                             if HUMAN.Health == 0 then
  2409.                                 break
  2410.                             end
  2411.                             wait(0.3)
  2412.                             local target,dist= findNearestTorso(TORSO.Position)
  2413.                             if target then
  2414.                                 HUMAN:MoveTo(target.Position)
  2415.                                 if dist < 25 then
  2416.                                     CreateSound(348663022, TORSO, 10, 1, true)
  2417.                                     wait(2)
  2418.                                     --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2419.                                     --ANIM:Play()
  2420.                                     --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2421.                                     ApplyAoE(TORSO.Position,10,0,0,85,true)
  2422.                                     WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  2423.                                     for i = 1, 5 do
  2424.                                         WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2425.                                     end
  2426.                                     break
  2427.                                 end
  2428.                             end
  2429.                         end
  2430.                         MINION:remove()
  2431.                     end))
  2432.                 end
  2433.             elseif RANDOMEFFECT == 4 then
  2434.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2435.                 FIELD.Color = C3(0,0,0)
  2436.                 FIELD.CFrame = BASE.CFrame
  2437.                 MakeForm(FIELD,"Ball")
  2438.                 FIELD.CanCollide = true
  2439.                 for i = 1, 50 do
  2440.                     Swait()
  2441.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2442.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2443.                 end
  2444.                 wait(0.2)
  2445.                 local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2446.                 coroutine.resume(coroutine.create(function()
  2447.                     local E = 0
  2448.                     for i = 1, 75 do
  2449.                         E = E + 1
  2450.                         Swait()
  2451.                         if E >= 60 then
  2452.                             E = 0
  2453.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*80, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2454.                         end
  2455.                         LOOP.Volume = LOOP.Volume + 10/75
  2456.                         LOOP.Parent = FIELD
  2457.                         local CHILDREN = workspace:GetDescendants()
  2458.                         for index, CHILD in pairs(CHILDREN) do
  2459.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2460.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2461.                                 if HUM then
  2462.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2463.                                     if TORSO then
  2464.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2465.                                             for _, c in pairs(CHILD:GetChildren()) do
  2466.                                                 if c:IsA("BasePart") then
  2467.                                                     local bv = Instance.new("BodyVelocity")
  2468.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2469.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2470.                                                     bv.Parent = c
  2471.                                                     Debris:AddItem(bv,0.05)
  2472.                                                 end
  2473.                                             end
  2474.                                             HUM.Health = HUM.Health - 0.3
  2475.                                         end
  2476.                                     end
  2477.                                 end
  2478.                             end
  2479.                         end
  2480.                         FIELD.Size = FIELD.Size + VT(10,10,10)/5
  2481.                     end
  2482.                     for i = 1, 180 do
  2483.                         E = E + 1
  2484.                         Swait()
  2485.                         if E >= 60 then
  2486.                             E = 0
  2487.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*60, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2488.                         end
  2489.                         LOOP.Parent = FIELD
  2490.                         local CHILDREN = workspace:GetDescendants()
  2491.                         for index, CHILD in pairs(CHILDREN) do
  2492.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2493.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2494.                                 if HUM then
  2495.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2496.                                     if TORSO then
  2497.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2498.                                             for _, c in pairs(CHILD:GetChildren()) do
  2499.                                                 if c:IsA("BasePart") then
  2500.                                                     local bv = Instance.new("BodyVelocity")
  2501.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2502.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2503.                                                     bv.Parent = c
  2504.                                                     Debris:AddItem(bv,0.05)
  2505.                                                 end
  2506.                                             end
  2507.                                             HUM.Health = HUM.Health - 0.3
  2508.                                         end
  2509.                                     end
  2510.                                 end
  2511.                             end
  2512.                         end
  2513.                     end
  2514.                     ApplyAoE(FIELD.Position,40,100,20,400,false)
  2515.                     WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  2516.                     for i = 1, 5 do
  2517.                         WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2518.                     end
  2519.                     FIELD:remove()
  2520.                 end))
  2521.             elseif RANDOMEFFECT == 5 then
  2522.             end
  2523.             wait(0.5)
  2524.             for i = 1, 25 do
  2525.                 Swait()
  2526.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2527.             end
  2528.             PANDORASBOX:remove()
  2529.             RINGSPIN = false
  2530.         end))
  2531.         ATTACK = false
  2532.         Rooted = false
  2533.     end
  2534. end
  2535.  
  2536. function Taunt()
  2537. ATTACK = true
  2538. Rooted = true
  2539. local LAUGHS = {834001699,834001752,834001797,834001828}
  2540. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false)
  2541.     coroutine.resume(coroutine.create(function()
  2542.         for i=0, 3, 0.1 / Animation_Speed do
  2543.             Swait()
  2544.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.2 / Animation_Speed)
  2545.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
  2546.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(20 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2547.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(-20 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2548.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
  2549.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2550.         end
  2551. ATTACK = false
  2552. Rooted = false
  2553. end))
  2554. end
  2555.  
  2556. function Prison_Key()
  2557.     if Mouse.Target ~= nil then
  2558.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2559.             local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2560.             local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2561.             local GYRO = IT("BodyGyro",RootPart)
  2562.             GYRO.D = 750
  2563.             GYRO.P = 20000
  2564.             GYRO.MaxTorque = VT(0,40000000,0)
  2565.             local grav = Instance.new("BodyPosition",TORSO)
  2566.             grav.D = 15
  2567.             grav.P = 20000
  2568.             grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2569.             grav.position = TORSO.Position
  2570.             local GYRO2 = IT("BodyGyro",TORSO)
  2571.             GYRO2.D = 750
  2572.             GYRO2.P = 20000
  2573.             GYRO2.MaxTorque = VT(0,40000000,0)
  2574.             GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2575.             grav.Name = "Jail"
  2576.             local LOCKPARTS = {}
  2577.             ATTACK = true
  2578.             Rooted = false
  2579.             local LOCK = IT("Model",Effects)
  2580.             LOCK.Name = "Lock"
  2581.             local LOCK2 = IT("Model",LOCK)
  2582.             LOCK2.Name = "Metal"
  2583.             --CREATE LOCK--
  2584.                 local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2585.                 LOCK.PrimaryPart = BASE
  2586.                 BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2587.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2588.                 PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2589.                 MakeForm(PRT,"Cyl")
  2590.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2591.                 PRT.Color = C3(0,0,0)
  2592.                 PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2593.                 MakeForm(PRT,"Cyl")
  2594.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2595.                 PRT.Color = C3(0,0,0)
  2596.                 PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2597.                 for i = 1, 45 do
  2598.                     local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2599.                     PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2600.                 end
  2601.                 local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2602.                 PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2603.                 LOCK2.PrimaryPart = PRT
  2604.             ---------------
  2605.             local CHILDREN = LOCK:GetDescendants()
  2606.             for index, CHILD in pairs(CHILDREN) do
  2607.                 if CHILD:IsA("BasePart") then
  2608.                     CHILD.Transparency = 1
  2609.                 end
  2610.             end
  2611.             for i = 1, 75 do
  2612.                 LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2613.                 Swait()
  2614.                 GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2615.                 GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2616.                 local CHILDREN = LOCK:GetDescendants()
  2617.                 for index, CHILD in pairs(CHILDREN) do
  2618.                     if CHILD:IsA("BasePart") then
  2619.                         CHILD.Transparency = CHILD.Transparency - 1/75
  2620.                     end
  2621.                 end
  2622.             end
  2623.             HUM.DisplayDistanceType = "None"
  2624.             local KEY = IT("Model",Effects)
  2625.             KEY.Name = "Key"
  2626.             --CREATE KEY--
  2627.                 local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  2628.                 KEY.PrimaryPart = KBASE
  2629.                 KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2630.                 local WLD = weldBetween(RightArm,KBASE)
  2631.                 for i = 1, 45 do
  2632.                     local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  2633.                     PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2634.                     weldBetween(KBASE,PRT)
  2635.                 end
  2636.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  2637.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2638.                 weldBetween(KBASE,PRT)
  2639.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  2640.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2641.                 weldBetween(KBASE,PRT)
  2642.             --------------
  2643.             Rooted = true
  2644.             Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2645.             coroutine.resume(coroutine.create(function()
  2646.                 for i = 1, 10 do
  2647.                     Swait()
  2648.                     GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2649.                     GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2650.                 end
  2651.                 CreateSound(1149318312,BASE,5,1,false)
  2652.                 CreateSound(160772554,BASE,3,1,false)
  2653.                 LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2654.                 for i = 1, 4 do
  2655.                     WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2656.                 end
  2657.                 WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2658.                 wait(1)
  2659.                 TORSO.Parent.Parent = LOCK
  2660.                 for i = 1, 75 do
  2661.                     Swait()
  2662.                     local CHILDREN = KEY:GetDescendants()
  2663.                     for index, CHILD in pairs(CHILDREN) do
  2664.                         if CHILD:IsA("BasePart") then
  2665.                             CHILD.Transparency = i/25
  2666.                         end
  2667.                     end
  2668.                     local CHILDREN = LOCK:GetDescendants()
  2669.                     for index, CHILD in pairs(CHILDREN) do
  2670.                         if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2671.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2672.                         elseif CHILD.ClassName == "Decal" then
  2673.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2674.                         end
  2675.                     end
  2676.                 end
  2677.                 TORSO.Parent:ClearAllChildren()
  2678.                 KEY:remove()
  2679.                 LOCK:remove()
  2680.             end))
  2681.             Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2682.             GYRO:remove()
  2683.             ATTACK = false
  2684.             Rooted = false
  2685.         end
  2686.     end
  2687.     end
  2688.    
  2689.     function Shot()
  2690.     ATTACK = true
  2691.     Rooted = false
  2692.     local SIZE = 1
  2693.     for i=0, 0.4, 0.1 / Animation_Speed do
  2694.         Swait()
  2695.         turnto(Mouse.Hit.p)
  2696.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2697.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2698.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2699.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2700.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2701.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2702.     end
  2703.     repeat
  2704.         for i=0, 0.2, 0.1 / Animation_Speed do
  2705.             Swait()
  2706.             turnto(Mouse.Hit.p)
  2707.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2708.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2709.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2710.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2711.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2712.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2713.         end
  2714.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2715.         SpawnTrail(Hole.Position,POS)
  2716.         if HIT ~= nil then
  2717.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2718.                 Banish(HIT.Parent)
  2719.             end
  2720.         end
  2721.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,255,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2722.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 847061203, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2723.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2724.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2725.         for i=0, 0.3, 0.1 / Animation_Speed do
  2726.             Swait()
  2727.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2728.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2729.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2730.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2731.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2732.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2733.         end
  2734.     until KEYHOLD == false
  2735.     ATTACK = false
  2736.     Rooted = false
  2737.     local SIZE = 1
  2738. end
  2739.  
  2740. function RavagingOverthrower()
  2741.     ATTACK = true
  2742.     Rooted = true
  2743. for i=0, 1, 0.1 / Animation_Speed do
  2744.         Swait()
  2745.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2746.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2747.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2748.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2749.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2750.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2751.     end
  2752.     CreateSound("348663022", Torso, 5, 1)
  2753.     local StartPos = RootPart.CFrame * CF(0,10,0).p
  2754.     for i = 1, 5 do
  2755.         MagicSphere2(25,25,CF(StartPos),"Royal purple")
  2756.         Swait(15)
  2757.     end
  2758.     local soundeffect = IT("Sound",Torso)
  2759.     soundeffect.SoundId = "rbxassetid://487186990"
  2760.     soundeffect.Looped = true
  2761.     soundeffect.Volume = 10
  2762.     soundeffect.Playing = true
  2763.     repeat
  2764.         turnto(Mouse.Hit.p)
  2765.         MagicSphere2(25,25,CF(StartPos),"Royal purple")
  2766.         MagicSphere(25/10,25,CF(StartPos),"Royal purple")
  2767.         local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2768.         local distance = (StartPos - RayPos).magnitude
  2769.         local RayBeam = IT("Part",Effects)
  2770.         RayBeam.Material = "Neon"
  2771.         RayBeam.Anchored = true
  2772.         RayBeam.BrickColor = BRICKC"Royal purple"
  2773.         local mesh = IT("SpecialMesh",RayBeam)
  2774.         mesh.MeshType = "Cylinder"
  2775.         RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2776.         RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2777.         MagicSphere(15,5,CF(RayPos),"Royal purple")
  2778.         killnearest(RayPos,15,100)
  2779.         for i = 1, 3 do
  2780.             CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"White")
  2781.         end
  2782.         Swait()
  2783.         if KEYHOLD == false then
  2784.             coroutine.resume(coroutine.create(function()
  2785.                 for i = 1, 5 do
  2786.                     RayBeam.Transparency = RayBeam.Transparency + 1/5
  2787.                     Swait()
  2788.                 end
  2789.                 RayBeam:remove()
  2790.             end))
  2791.         else
  2792.             RayBeam:remove()
  2793.         end
  2794.     until KEYHOLD == false
  2795.     soundeffect:remove()
  2796.     ATTACK = false
  2797.     Rooted = false
  2798. end
  2799.  
  2800.  
  2801. --//=================================\\
  2802. --||      ASSIGN THINGS TO KEYS
  2803. --\\=================================//
  2804.  
  2805. function MouseDown(Mouse)
  2806.     HOLD = true
  2807.     if ATTACK == false then
  2808.     end
  2809. end
  2810.  
  2811. function MouseUp(Mouse)
  2812. HOLD = false
  2813. end
  2814.  
  2815. function KeyDown(Key)
  2816.     KEYHOLD = true
  2817.     if Key == "z" and ATTACK == false then
  2818.         MagicMissiles()
  2819.     end
  2820.  
  2821.     if Key == "b" and ATTACK == false then
  2822.         TimesUp()
  2823.     end
  2824.  
  2825.     if Key == "c" and ATTACK == false then
  2826.         ChainPunch()
  2827.     end
  2828.  
  2829.     if Key == "v" and ATTACK == false then
  2830.         WarpMeteor()
  2831.     end
  2832.  
  2833.     if Key == "x" and ATTACK == false then
  2834.         PandorasBox()
  2835.     end
  2836.  
  2837.     if Key == "y" and ATTACK == false then
  2838.         Bullet()
  2839.     end
  2840.    
  2841.     if Key == "t" and ATTACK == false then
  2842.         Taunt()
  2843.     end
  2844.  
  2845.     if Key == "q" and ATTACK == false then
  2846.         Prison_Key()
  2847.     end
  2848.  
  2849.     if Key == "e" and ATTACK == false then
  2850.         RavagingOverthrower()
  2851.     end
  2852.     if Key == "r" and ATTACK == false then
  2853.     end
  2854.     if Key == "u" and ATTACK == false then
  2855.         Shot()
  2856.     end
  2857. end
  2858.  
  2859. function KeyUp(Key)
  2860.     KEYHOLD = false
  2861. end
  2862.  
  2863.     Mouse.Button1Down:connect(function(NEWKEY)
  2864.         MouseDown(NEWKEY)
  2865.     end)
  2866.     Mouse.Button1Up:connect(function(NEWKEY)
  2867.         MouseUp(NEWKEY)
  2868.     end)
  2869.     Mouse.KeyDown:connect(function(NEWKEY)
  2870.         KeyDown(NEWKEY)
  2871.     end)
  2872.     Mouse.KeyUp:connect(function(NEWKEY)
  2873.         KeyUp(NEWKEY)
  2874.     end)
  2875.  
  2876. --//=================================\\
  2877. --\\=================================//
  2878.  
  2879.  
  2880. function unanchor()
  2881.     if UNANCHOR == true then
  2882.         RootPart.Anchored = false
  2883.     end
  2884.     g = Character:GetChildren()
  2885.     for i = 1, #g do
  2886.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2887.             g[i].Anchored = false
  2888.         end
  2889.     end
  2890.     g = Weapon:GetChildren()
  2891.     for i = 1, #g do
  2892.         if g[i].ClassName == "Part" then
  2893.             g[i].Anchored = false
  2894.         end
  2895.     end
  2896. end
  2897.  
  2898.  
  2899. --//=================================\\
  2900. --||    WRAP THE WHOLE SCRIPT UP
  2901. --\\=================================//
  2902.  
  2903. Humanoid.Changed:connect(function(Jump)
  2904.     if Jump == "Jump" and (Disable_Jump == true) then
  2905.         Humanoid.Jump = false
  2906.     end
  2907. end)
  2908.  
  2909. while true do
  2910.     Swait()
  2911.     script.Parent = WEAPONGUI
  2912.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2913.         v:Stop();
  2914.     end
  2915.     ANIMATE.Parent = nil
  2916.     SINE = SINE + CHANGE*1.5
  2917.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2918.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2919.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2920.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2921.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2922.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2923.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2924.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2925.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2926.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2927.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2928.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2929.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2930.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2931.     end
  2932.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2933.         ANIM = "Jump"
  2934.         if ATTACK == false then
  2935.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2936.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2937.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2938.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2939.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2940.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2941.         end
  2942.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2943.         ANIM = "Fall"
  2944.         if ATTACK == false then
  2945.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2946.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2947.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2948.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2949.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2950.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2951.         end
  2952.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2953.         ANIM = "Idle"
  2954.         if ATTACK == false then
  2955.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1))), 1 / Animation_Speed)
  2956.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  2957.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(52 - 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2958.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-42 + 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2959.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20 + 11 * COS(SINE / 1)), RAD(55 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2960.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10 + 11 * COS(SINE / 1)), RAD(-74 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2961.             if MRANDOM(1,20) == 1 then
  2962.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
  2963.             end
  2964.             end
  2965.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2966.         ANIM = "Walk"
  2967.         if ATTACK == false then
  2968.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
  2969.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
  2970.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(-70 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2971.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(70 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2972.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2973.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2974.             if MRANDOM(1,15) == 1 then
  2975.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
  2976.             end
  2977.             end
  2978.     end
  2979.     unanchor()
  2980.     Humanoid.MaxHealth = "inf"
  2981.     Humanoid.Health = "inf"
  2982.     if Rooted == false then
  2983.         Disable_Jump = false
  2984.         Humanoid.WalkSpeed = Speed
  2985.     elseif Rooted == true then
  2986.         Disable_Jump = true
  2987.         Humanoid.WalkSpeed = 0
  2988.     end
  2989.     for _, c in pairs(Character:GetChildren()) do
  2990.         if c.ClassName == "Part" and c.Name ~= "Detail" then
  2991.             c.Material = "Fabric"
  2992.             if c:FindFirstChildOfClass("ParticleEmitter") then
  2993.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2994.             end
  2995.             if c ~= Head then
  2996.                 c.Color = C3(0,0,0)
  2997.             else
  2998.                 c.Color = C3(1,1,1)
  2999.             end
  3000.             if c == Head then
  3001.                 if c:FindFirstChild("face") then
  3002.                     c.face:remove()
  3003.                 end
  3004.             end
  3005.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3006.             c:remove()
  3007.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3008.             c:remove()
  3009.         end
  3010.     end
  3011.     sick.SoundId = "rbxassetid://"..SONG
  3012.     sick.Looped = true
  3013.     sick.Pitch = 1
  3014.     sick.Volume = 5
  3015.     sick.Parent = Torso
  3016.     sick:Resume()
  3017.     --sick.Playing = false
  3018.     Humanoid.Name = "Pandora = "..Player.Name
  3019. end
  3020. --//====================================================\\--
  3021. --||                     END OF SCRIPT
  3022. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top