Advertisement
vL4d_4eVer

Untitled

Dec 26th, 2018
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 62.18 KB | None | 0 0
  1. print("sUepr gOud Edt by vlAd20020(god why)")
  2. wait(0.2)
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character.HumanoidRootPart
  11. Torso = Character.Torso
  12. Head = Character.Head
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart.RootJoint
  18. Neck = Torso.Neck
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local LastBolt
  24. local LightningBolts = {}
  25. local GunPoint
  26. IT = Instance.new
  27. CF = CFrame.new
  28. VT = Vector3.new
  29. RAD = math.rad
  30. C3 = Color3.new
  31. UD2 = UDim2.new
  32. BRICKC = BrickColor.new
  33. ANGLES = CFrame.Angles
  34. EULER = CFrame.fromEulerAnglesXYZ
  35. COS = math.cos
  36. ACOS = math.acos
  37. SIN = math.sin
  38. ASIN = math.asin
  39. ABS = math.abs
  40. MRANDOM = math.random
  41. FLOOR = math.floor
  42. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  43.     local NEWMESH = IT(MESH)
  44.     if MESH == "SpecialMesh" then
  45.         NEWMESH.MeshType = MESHTYPE
  46.         if MESHID ~= "nil" and MESHID ~= "" then
  47.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  48.         end
  49.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  50.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  51.         end
  52.     end
  53.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  54.     NEWMESH.Scale = SCALE
  55.     NEWMESH.Parent = PARENT
  56.     return NEWMESH
  57. end
  58. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  59.     local NEWPART = IT("Part")
  60.     NEWPART.formFactor = FORMFACTOR
  61.     NEWPART.Reflectance = REFLECTANCE
  62.     NEWPART.Transparency = TRANSPARENCY
  63.     NEWPART.CanCollide = false
  64.     NEWPART.Locked = true
  65.     NEWPART.Anchored = true
  66.     if ANCHOR == false then
  67.         NEWPART.Anchored = false
  68.     end
  69.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  70.     NEWPART.Name = NAME
  71.     NEWPART.Size = SIZE
  72.     NEWPART.Position = Torso.Position
  73.     NEWPART.Material = MATERIAL
  74.     NEWPART:BreakJoints()
  75.     NEWPART.Parent = PARENT
  76.     return NEWPART
  77. end
  78. Player_Size = 1
  79. Animation_Speed = 3
  80. Frame_Speed = 0.016666666666666666
  81. local Speed = 45
  82. local Effects2 = {}
  83. local weldBetween = function(a, b)
  84.     local weldd = Instance.new("ManualWeld")
  85.     weldd.Part0 = a
  86.     weldd.Part1 = b
  87.     weldd.C0 = CFrame.new()
  88.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  89.     weldd.Parent = a
  90.     return weldd
  91. end
  92. function createaccessory(attachmentpart, mesh, texture, scale, offset, color)
  93.     local acs = Instance.new("Part")
  94.     acs.CanCollide = false
  95.     acs.Anchored = false
  96.     acs.Size = Vector3.new(0, 0, 0)
  97.     acs.CFrame = attachmentpart.CFrame
  98.     acs.Parent = Character
  99.     acs.BrickColor = color
  100.     local meshs = Instance.new("SpecialMesh")
  101.     meshs.MeshId = mesh
  102.     meshs.TextureId = texture
  103.     meshs.Parent = acs
  104.     meshs.Scale = scale
  105.     meshs.Offset = offset
  106.     weldBetween(attachmentpart, acs)
  107. end
  108. function createbodypart(TYPE, COLOR, PART, OFFSET, SIZE)
  109.     if TYPE == "Gem" then
  110.         local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
  111.         acs.Anchored = false
  112.         acs.CanCollide = false
  113.         acs.CFrame = PART.CFrame
  114.         local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  115.         weldBetween(PART, acs)
  116.     elseif TYPE == "Skull" then
  117.         local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
  118.         acs.Anchored = false
  119.         acs.CanCollide = false
  120.         acs.CFrame = PART.CFrame
  121.         local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  122.         weldBetween(PART, acs)
  123.     elseif TYPE == "Eye" then
  124.         local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0, 0, 0))
  125.         acs.Anchored = false
  126.         acs.CanCollide = false
  127.         acs.CFrame = PART.CFrame
  128.         local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  129.         weldBetween(PART, acs)
  130.     end
  131. end
  132. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  133. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  134. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  135. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  136. local CHANGEDEFENSE = 0
  137. local CHANGEDAMAGE = 0
  138. local CHANGEMOVEMENT = 0
  139. local ANIM = "Idle"
  140. local ATTACK = false
  141. local EQUIPPED = false
  142. local HOLD = false
  143. local COMBO = 1
  144. local Rooted = false
  145. local SINE = 0
  146. local KEYHOLD = false
  147. local CHANGE = 2 / Animation_Speed
  148. local WALKINGANIM = false
  149. local WALK = 0
  150. local VALUE1 = false
  151. local VALUE2 = false
  152. local ROBLOXIDLEANIMATION = IT("Animation")
  153. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  154. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  155. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  156. WEAPONGUI.Name = "Weapon GUI"
  157. local Weapon = IT("Model")
  158. Weapon.Name = "Adds"
  159. local Delete = IT("Model", Character)
  160. Delete.Name = "Those who must be banished."
  161. local Effects = IT("Folder", Weapon)
  162. Effects.Name = "Effects"
  163. local ANIMATOR = Humanoid.Animator
  164. local ANIMATE = Character.Animate
  165. local HITPLAYERSOUNDS = {
  166.     "263032172",
  167.     "263032182",
  168.     "263032200",
  169.     "263032221",
  170.     "263032252",
  171.     "263033191"
  172. }
  173. local HITARMORSOUNDS = {
  174.     "199149321",
  175.     "199149338",
  176.     "199149367",
  177.     "199149409",
  178.     "199149452"
  179. }
  180. local HITWEAPONSOUNDS = {
  181.     "199148971",
  182.     "199149025",
  183.     "199149072",
  184.     "199149109",
  185.     "199149119"
  186. }
  187. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  188. local UNANCHOR = true
  189. local SKILLTEXTCOLOR = Color3.fromRGB(100,0,255)
  190. ArtificialHB = Instance.new("BindableEvent", script)
  191. ArtificialHB.Name = "ArtificialHB"
  192. script:WaitForChild("ArtificialHB")
  193. frame = Frame_Speed
  194. tf = 0
  195. allowframeloss = false
  196. tossremainder = false
  197. lastframe = tick()
  198. script.ArtificialHB:Fire()
  199. game:GetService("RunService").Heartbeat:connect(function(s, p)
  200.     tf = tf + s
  201.     if tf >= frame then
  202.         if allowframeloss then
  203.             script.ArtificialHB:Fire()
  204.             lastframe = tick()
  205.         else
  206.             for i = 1, math.floor(tf / frame) do
  207.                 script.ArtificialHB:Fire()
  208.             end
  209.             lastframe = tick()
  210.         end
  211.         if tossremainder then
  212.             tf = 0
  213.         else
  214.             tf = tf - frame * math.floor(tf / frame)
  215.         end
  216.     end
  217. end)
  218. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  219.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  220. end
  221. function PositiveAngle(NUMBER)
  222.     if NUMBER >= 0 then
  223.         NUMBER = 0
  224.     end
  225.     return NUMBER
  226. end
  227. function NegativeAngle(NUMBER)
  228.     if NUMBER <= 0 then
  229.         NUMBER = 0
  230.     end
  231.     return NUMBER
  232. end
  233. function Swait(NUMBER)
  234.     if NUMBER == 0 or NUMBER == nil then
  235.         ArtificialHB.Event:wait()
  236.     else
  237.         for i = 1, NUMBER do
  238.             ArtificialHB.Event:wait()
  239.         end
  240.     end
  241. end
  242. function QuaternionFromCFrame(cf)
  243.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  244.     local trace = m00 + m11 + m22
  245.     if trace > 0 then
  246.         local s = math.sqrt(1 + trace)
  247.         local recip = 0.5 / s
  248.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  249.     else
  250.         local i = 0
  251.         if m00 < m11 then
  252.             i = 1
  253.         end
  254.         if m22 > (i == 0 and m00 or m11) then
  255.             i = 2
  256.         end
  257.         if i == 0 then
  258.             local s = math.sqrt(m00 - m11 - m22 + 1)
  259.             local recip = 0.5 / s
  260.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  261.         elseif i == 1 then
  262.             local s = math.sqrt(m11 - m22 - m00 + 1)
  263.             local recip = 0.5 / s
  264.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  265.         elseif i == 2 then
  266.             local s = math.sqrt(m22 - m00 - m11 + 1)
  267.             local recip = 0.5 / s
  268.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  269.         end
  270.     end
  271. end
  272. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  273.     local xs, ys, zs = x + x, y + y, z + z
  274.     local wx, wy, wz = w * xs, w * ys, w * zs
  275.     local xx = x * xs
  276.     local xy = x * ys
  277.     local xz = x * zs
  278.     local yy = y * ys
  279.     local yz = y * zs
  280.     local zz = z * zs
  281.     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))
  282. end
  283. function QuaternionSlerp(a, b, t)
  284.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  285.     local startInterp, finishInterp
  286.     if cosTheta >= 1.0E-4 then
  287.         if 1 - cosTheta > 1.0E-4 then
  288.             local theta = ACOS(cosTheta)
  289.             local invSinTheta = 1 / SIN(theta)
  290.             startInterp = SIN((1 - t) * theta) * invSinTheta
  291.             finishInterp = SIN(t * theta) * invSinTheta
  292.         else
  293.             startInterp = 1 - t
  294.             finishInterp = t
  295.         end
  296.     elseif 1 + cosTheta > 1.0E-4 then
  297.         local theta = ACOS(-cosTheta)
  298.         local invSinTheta = 1 / SIN(theta)
  299.         startInterp = SIN((t - 1) * theta) * invSinTheta
  300.         finishInterp = SIN(t * theta) * invSinTheta
  301.     else
  302.         startInterp = t - 1
  303.         finishInterp = t
  304.     end
  305.     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
  306. end
  307. function Clerp(a, b, t)
  308.     a = a:Lerp(b,t)
  309.     return a
  310. end
  311. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  312.     local frame = IT("Frame")
  313.     frame.BackgroundTransparency = TRANSPARENCY
  314.     frame.BorderSizePixel = BORDERSIZEPIXEL
  315.     frame.Position = POSITION
  316.     frame.Size = SIZE
  317.     frame.BackgroundColor3 = COLOR
  318.     frame.BorderColor3 = BORDERCOLOR
  319.     frame.Name = NAME
  320.     frame.Parent = PARENT
  321.     return frame
  322. end
  323. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  324.     local label = IT("TextLabel")
  325.     label.BackgroundTransparency = 1
  326.     label.Size = UD2(1, 0, 1, 0)
  327.     label.Position = UD2(0, 0, 0, 0)
  328.     label.TextColor3 = TEXTCOLOR
  329.     label.TextStrokeTransparency = STROKETRANSPARENCY
  330.     label.TextTransparency = TRANSPARENCY
  331.     label.FontSize = TEXTFONTSIZE
  332.     label.Font = TEXTFONT
  333.     label.BorderSizePixel = BORDERSIZEPIXEL
  334.     label.TextScaled = false
  335.     label.Text = TEXT
  336.     label.Name = NAME
  337.     label.Parent = PARENT
  338.     return label
  339. end
  340. function NoOutlines(PART)
  341.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  342. end
  343. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  344.     local NEWWELD = IT(TYPE)
  345.     NEWWELD.Part0 = PART0
  346.     NEWWELD.Part1 = PART1
  347.     NEWWELD.C0 = C0
  348.     NEWWELD.C1 = C1
  349.     NEWWELD.Parent = PARENT
  350.     return NEWWELD
  351. end
  352. local SOUND = IT("Sound", nil)
  353. function CreateSound(ID, PARENT, VOLUME, PITCH)
  354.     local NEWSOUND
  355.     coroutine.resume(coroutine.create(function()
  356.         NEWSOUND = SOUND:Clone()
  357.         NEWSOUND.Parent = PARENT
  358.         NEWSOUND.Volume = VOLUME
  359.         NEWSOUND.Pitch = PITCH
  360.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  361.         NEWSOUND:play()
  362.         repeat
  363.             Swait()
  364.         until NEWSOUND.Playing == false
  365.         NEWSOUND:remove()
  366.     end))
  367.     return NEWSOUND
  368. end
  369. function CFrameFromTopBack(at, top, back)
  370.     local right = top:Cross(back)
  371.     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)
  372. end
  373. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  374.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  375.     local mesh = IT("SpecialMesh", wave)
  376.     mesh.MeshType = "FileMesh"
  377.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  378.     mesh.Scale = SIZE
  379.     mesh.Offset = VT(0, 0, -SIZE.X / 8)
  380.     wave.CFrame = CFRAME
  381.     coroutine.resume(coroutine.create(function(PART)
  382.         for i = 1, WAIT do
  383.             Swait()
  384.             mesh.Scale = mesh.Scale + GROW
  385.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  386.             if DOESROT == true then
  387.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  388.             end
  389.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  390.             if wave.Transparency > 0.99 then
  391.                 wave:remove()
  392.             end
  393.         end
  394.     end))
  395. end
  396. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  397.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  398.     local mesh = IT("SpecialMesh", wave)
  399.     mesh.MeshType = "FileMesh"
  400.     mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  401.     mesh.Scale = SIZE
  402.     mesh.Offset = VT(0, 0, -SIZE.X / 8)
  403.     wave.CFrame = CFRAME
  404.     coroutine.resume(coroutine.create(function(PART)
  405.         for i = 1, WAIT do
  406.             Swait()
  407.             mesh.Scale = mesh.Scale + GROW
  408.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  409.             if DOESROT == true then
  410.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  411.             end
  412.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  413.             if wave.Transparency > 0.99 then
  414.                 wave:remove()
  415.             end
  416.         end
  417.     end))
  418. end
  419. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  420.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  421.     local mesh = IT("SpecialMesh", wave)
  422.     mesh.MeshType = "FileMesh"
  423.     mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  424.     mesh.Scale = SIZE
  425.     mesh.Offset = VT(0, 0, -SIZE.X / 8)
  426.     wave.CFrame = CFRAME
  427.     coroutine.resume(coroutine.create(function(PART)
  428.         for i = 1, WAIT do
  429.             Swait()
  430.             mesh.Scale = mesh.Scale + GROW
  431.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  432.             if DOESROT == true then
  433.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  434.             end
  435.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  436.             if wave.Transparency > 0.99 then
  437.                 wave:remove()
  438.             end
  439.         end
  440.     end))
  441. end
  442. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  443.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  444.     local mesh = IT("SpecialMesh", wave)
  445.     mesh.MeshType = "FileMesh"
  446.     mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  447.     mesh.Scale = SIZE
  448.     mesh.Offset = VT(0, 0, -SIZE.X / 8)
  449.     wave.CFrame = CFRAME
  450.     coroutine.resume(coroutine.create(function(PART)
  451.         for i = 1, WAIT do
  452.             Swait()
  453.             mesh.Scale = mesh.Scale + GROW
  454.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  455.             if DOESROT == true then
  456.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  457.             end
  458.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  459.             if wave.Transparency > 0.99 then
  460.                 wave:remove()
  461.             end
  462.         end
  463.     end))
  464. end
  465. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  466.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  467.     local mesh = IT("SpecialMesh", wave)
  468.     mesh.MeshType = "FileMesh"
  469.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  470.     mesh.Scale = SIZE
  471.     wave.CFrame = CFRAME
  472.     coroutine.resume(coroutine.create(function(PART)
  473.         for i = 1, WAIT do
  474.             Swait()
  475.             mesh.Scale = mesh.Scale + GROW
  476.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  477.             if DOESROT == true then
  478.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  479.             end
  480.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  481.             if wave.Transparency > 0.99 then
  482.                 wave:remove()
  483.             end
  484.         end
  485.     end))
  486. end
  487. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  488.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  489.     local mesh = IT("SpecialMesh", wave)
  490.     mesh.MeshType = "FileMesh"
  491.     mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  492.     mesh.Scale = SIZE
  493.     wave.CFrame = CFRAME
  494.     coroutine.resume(coroutine.create(function(PART)
  495.         for i = 1, WAIT do
  496.             Swait()
  497.             mesh.Scale = mesh.Scale + GROW
  498.             if DOESROT == true then
  499.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  500.             end
  501.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  502.             if wave.Transparency > 0.99 then
  503.                 wave:remove()
  504.             end
  505.         end
  506.     end))
  507. end
  508. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  509.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  510.     local mesh = IT("SpecialMesh", wave)
  511.     mesh.MeshType = "FileMesh"
  512.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  513.     mesh.Scale = SIZE
  514.     mesh.Offset = VT(0, 0, 0)
  515.     wave.CFrame = CFRAME
  516.     coroutine.resume(coroutine.create(function(PART)
  517.         for i = 1, WAIT do
  518.             Swait()
  519.             mesh.Scale = mesh.Scale + GROW
  520.             if DOESROT == true then
  521.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  522.             end
  523.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  524.             if wave.Transparency > 0.99 then
  525.                 wave:remove()
  526.             end
  527.         end
  528.     end))
  529. end
  530. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  531.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  532.     local mesh = IT("SpecialMesh", wave)
  533.     mesh.MeshType = "Sphere"
  534.     mesh.Scale = SIZE
  535.     mesh.Offset = VT(0, 0, 0)
  536.     wave.CFrame = CFRAME
  537.     coroutine.resume(coroutine.create(function(PART)
  538.         for i = 1, WAIT do
  539.             Swait()
  540.             mesh.Scale = mesh.Scale + GROW
  541.             wave.Transparency = wave.Transparency + 1 / WAIT
  542.             if wave.Transparency > 0.99 then
  543.                 wave:remove()
  544.             end
  545.         end
  546.     end))
  547. end
  548. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  549.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  550.     local mesh = IT("BlockMesh", wave)
  551.     wave.CFrame = CFRAME
  552.     coroutine.resume(coroutine.create(function(PART)
  553.         for i = 1, WAIT do
  554.             Swait()
  555.             mesh.Scale = mesh.Scale + GROW
  556.             wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  557.             wave.Transparency = wave.Transparency + 1 / WAIT
  558.             if wave.Transparency > 0.99 then
  559.                 wave:remove()
  560.             end
  561.         end
  562.     end))
  563. end
  564. function MakeForm(PART, TYPE)
  565.     if TYPE == "Cyl" then
  566.         local MSH = IT("CylinderMesh", PART)
  567.     elseif TYPE == "Ball" then
  568.         local MSH = IT("SpecialMesh", PART)
  569.         MSH.MeshType = "Sphere"
  570.     elseif TYPE == "Wedge" then
  571.         local MSH = IT("SpecialMesh", PART)
  572.         MSH.MeshType = "Wedge"
  573.     end
  574. end
  575. function CheckTableForString(Table, String)
  576.     for i, v in pairs(Table) do
  577.         if string.find(string.lower(String), string.lower(v)) then
  578.             return true
  579.         end
  580.     end
  581.     return false
  582. end
  583. function CheckIntangible(Hit)
  584.     local ProjectileNames = {
  585.         "Water",
  586.         "Arrow",
  587.         "Projectile",
  588.         "Effect",
  589.         "Rail",
  590.         "Lightning",
  591.         "Bullet"
  592.     }
  593.     if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  594.         return true
  595.     end
  596.     return false
  597. end
  598. Debris = game:GetService("Debris")
  599. BaseLightning = IT("Part")
  600. BaseLightning.Anchored = true
  601. BaseLightning.CanCollide = false
  602. BaseLightning.Material = "Neon"
  603. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  604.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  605.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  606.     if RayHit and CheckIntangible(RayHit) then
  607.         if DelayIfHit then
  608.             wait()
  609.         end
  610.         RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  611.     end
  612.     return RayHit, RayPos, RayNormal
  613. end
  614. function Zap(Table)
  615.     local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  616.     local Duration = Table.Duration or 2
  617.     local FadeRate = Table.FadeRate or 0.05
  618.     local Offset = Table.Offset or 2
  619.     local Individualize = Table.Individualize or false
  620.     local MaxRange = Table.MaxRange or 200
  621.     local SegmentLength = Table.SegmentLength or 5
  622.     local TimeToFade = Table.TimeToFade or 0.5
  623.     local Ignore = Table.Ignore or {}
  624.     local SIZE = Table.Size or 0.3
  625.     if not (StartPos and TargetPos) or not Character then
  626.         return
  627.     end
  628.     local LightningModel = IT("Folder", Effects)
  629.     LightningModel.Name = "ZAPP"
  630.     for i, v in pairs({Character, LightningModel}) do
  631.         table.insert(Ignore, v)
  632.     end
  633.     local LastPos = StartPos
  634.     local Direction = CFrame.new(StartPos, TargetPos).lookVector
  635.     local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  636.     local RayLength = (StartPos - RayPos).Magnitude
  637.     local Struck = false
  638.     local TotalSegments = math.ceil(RayLength / SegmentLength)
  639.     Direction = CFrame.new(StartPos, RayPos).lookVector
  640.     local LightningBolt = IT("Model", Effects)
  641.     LightningBolt.Name = "Lightning"
  642.     if not Individualize then
  643.         table.insert(LightningBolts, LightningBolt)
  644.     end
  645.     LastBolt = LightningBolt
  646.     Debris:AddItem(LightningBolt, Duration)
  647.     LightningBolt.Parent = LightningModel
  648.     for i = 1, TotalSegments do
  649.         if not Struck then
  650.             local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  651.             local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  652.             local SegmentVec = NewPos - LastPos
  653.             local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  654.             local RayVec = LastPos - RayPos
  655.             local LightningPart = BaseLightning:Clone()
  656.             LightningPart.BrickColor = BrickColor.new(Color)
  657.             LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  658.             LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  659.             table.insert(Effects2, {
  660.                 LightningPart,
  661.                 "Disappear",
  662.                 0.025,
  663.                 1,
  664.                 1,
  665.                 1,
  666.                 2
  667.             })
  668.             local CylinderMesh = IT("CylinderMesh", LightningPart)
  669.             local OrigCF = LightningPart.CFrame
  670.             LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  671.             LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  672.             LightningPart.Parent = LightningBolt
  673.             LastPos = NewPos
  674.         end
  675.     end
  676.     return {
  677.         RayHit = RayHit,
  678.         RayPos = RayPos,
  679.         RayNormal = RayNormal,
  680.         LightningModel = LightningModel
  681.     }
  682. end
  683. function turnto(position)
  684.     RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  685. end
  686. function chatfunc(text, waitt)
  687.     local chat = coroutine.wrap(function()
  688.         if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  689.             Character:FindFirstChild("TalkingBillBoard").Parent = nil
  690.         end
  691.         local naeeym2 = Instance.new("BillboardGui", Character)
  692.         naeeym2.Size = UDim2.new(0, 100, 0, 40)
  693.         naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  694.         naeeym2.Adornee = Character.Head
  695.         naeeym2.Name = "TalkingBillBoard"
  696.         naeeym2.AlwaysOnTop = true
  697.         local tecks2 = Instance.new("TextLabel", naeeym2)
  698.         tecks2.BackgroundTransparency = 1
  699.         tecks2.BorderSizePixel = 0
  700.         tecks2.Text = ""
  701.         tecks2.Font = "Antique"
  702.         tecks2.TextSize = 30
  703.         tecks2.TextStrokeTransparency = 1
  704.         tecks2.TextColor3 = SKILLTEXTCOLOR
  705.         tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  706.         tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  707.         for i = 1, string.len(text) do
  708.             if naeeym2.Parent ~= nil then
  709.                 CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  710.             end
  711.             tecks2.Text = string.sub(text, 1, i)
  712.             Swait(3)
  713.         end
  714.         wait(waitt / 10)
  715.         coroutine.resume(coroutine.create(function()
  716.             for i = 1, 10 do
  717.                 tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  718.                 Swait()
  719.             end
  720.             naeeym2:Destroy()
  721.         end))
  722.     end)
  723.     chat()
  724. end
  725. for _, c in pairs(Weapon:GetChildren()) do
  726.     if c.ClassName == "Part" then
  727.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  728.     end
  729. end
  730. Weapon.Parent = Character
  731. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  732. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  733. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  734. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  735. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.25, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  736. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  737. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher bullet", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  738. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Banishing rampage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  739. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Warp vector", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 3")
  740. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Spectral banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 4")
  741. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] De-banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 5")
  742. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] BEGONE", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 6")
  743. function CastWarpOutlines(TARGET)
  744.     coroutine.resume(coroutine.create(function()
  745.         local T = TARGET:GetChildren()
  746.         for i = 1, #T do
  747.             local child = T[i]
  748.             if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  749.                 do
  750.                     local clone = child:Clone()
  751.                     clone.Parent = Effects
  752.                     clone.Anchored = true
  753.                     clone.CanCollide = false
  754.                     clone:ClearAllChildren()
  755.                     clone.CFrame = child.CFrame
  756.                     if clone.Name == "Head" then
  757.                         clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  758.                     end
  759.                     if clone.ClassName == "MeshPart" then
  760.                         clone.TextureID = ""
  761.                     end
  762.                     clone.Color = Color3.fromRGB(100,0,255)
  763.                     clone.Material = "Neon"
  764.                     coroutine.resume(coroutine.create(function()
  765.                         for i = 1, 10 do
  766.                             Swait()
  767.                             clone.Transparency = clone.Transparency + 0.1
  768.                             clone.Size = clone.Size + VT(0.01, 0.01, 0.01)
  769.                         end
  770.                         clone:remove()
  771.                     end))
  772.                 end
  773.             end
  774.         end
  775.     end))
  776. end
  777. function killnearest(position, range, maxstrength)
  778.     for i, v in ipairs(workspace:GetChildren()) do
  779.         local body = v:GetChildren()
  780.         for part = 1, #body do
  781.             if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  782.                 game:GetService("Debris"):AddItem(v,0)
  783.             end
  784.         end
  785.     end
  786. end
  787. function CastProperRay(StartPos, Vec, Length, Ignore)
  788.     local Direction = CFrame.new(StartPos, Vec).lookVector
  789.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  790.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  791.     return RayHit, RayPos, RayNormal
  792. end
  793. function Debree(POS, SWAIT)
  794.     coroutine.resume(coroutine.create(function()
  795.         local HOLDER = IT("Model", Effects)
  796.         HOLDER.Name = "Debree"
  797.         local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  798.         MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Royal purple", VT(0, 0, 0))
  799.         MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Royal purple", VT(0, 0, 0))
  800.         MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Royal purple", VT(0, 0, 0))
  801.         repeat
  802.             Swait()
  803.         until HITFLOOR ~= nil
  804.         local O = 0
  805.         for i = 1, 18 do
  806.             do
  807.                 local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  808.                 Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  809.                 O = O - 2.25 + i / 4
  810.                 coroutine.resume(coroutine.create(function()
  811.                     Swait(SWAIT)
  812.                     for i = 1, 60 do
  813.                         Swait()
  814.                         local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  815.                         Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  816.                     end
  817.                     for i = 1, 50 do
  818.                         Swait()
  819.                         Part.Size = Part.Size * 0.9
  820.                     end
  821.                 end))
  822.             end
  823.         end
  824.         local O = 0
  825.         for i = 1, 18 do
  826.             do
  827.                 local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  828.                 Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  829.                 O = O + 2.25 - i / 4
  830.                 coroutine.resume(coroutine.create(function()
  831.                     Swait(SWAIT)
  832.                     for i = 1, 60 do
  833.                         Swait()
  834.                         local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  835.                         Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  836.                     end
  837.                     for i = 1, 50 do
  838.                         Swait()
  839.                         Part.Size = Part.Size * 0.9
  840.                     end
  841.                 end))
  842.             end
  843.         end
  844.         Swait(SWAIT + 110)
  845.         HOLDER:remove()
  846.     end))
  847. end
  848. local Gun
  849. local hitbox
  850. function Intro()
  851.     coroutine.resume(coroutine.create(function()
  852.         ATTACK = true
  853.         Rooted = true
  854.         local igotagun = CreateSound("1883633498", Head, 10, 1)
  855.         wait(2.7)
  856.         for i = 0, 1, 0.1 / Animation_Speed do
  857.             Swait()
  858.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  859.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  860.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2,.4,0) * ANGLES(RAD(70), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  861.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3,.3,.2) * ANGLES(RAD(110), RAD(90), RAD(-190)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  862.             RightHip.C0 = Clerp(RightHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  863.             LeftHip.C0 = Clerp(LeftHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  864.         end
  865.         local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  866.         repeat
  867.             Swait()
  868.             HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  869.         until HITFLOOR ~= nil
  870.         for i = 0, 0.5, 0.1 / Animation_Speed do
  871.             Swait()
  872.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-160)), 0.3 / Animation_Speed)
  873.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(160)), 0.3 / Animation_Speed)
  874.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(.5,.3,-.5) * ANGLES(RAD(90), RAD(23), RAD(130)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  875.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3,.5,.2) * ANGLES(RAD(0), RAD(0), RAD(-100)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  876.             RightHip.C0 = Clerp(RightHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  877.             LeftHip.C0 = Clerp(LeftHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  878.         end
  879.         Swait()
  880.         Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  881.         local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.04, 0.04, 0.04), VT(0, 0, 0))
  882.         local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -2.5, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  883.         hitbox = Instance.new("Part",Gun) hitbox.Size = Vector3.new(5,2.5,1) hitbox.CanCollide = false hitbox.Transparency = 1
  884. local hw = Instance.new("Weld",hitbox) hw.Part0 = Gun hw.Part1 = hitbox hw.C0 = CFrame.new(0,.5,0)
  885.         GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  886.         local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -4.6, -.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  887.         local ids = {2575716256,525565668,190885267}
  888.         local sick = Instance.new("Sound", Character)
  889.         sick.SoundId = "rbxassetid://"..ids[math.random(1,#ids)]
  890.         sick.Looped = true
  891.         sick.Pitch = 1
  892.         sick.Volume = 1
  893.         sick:Play()
  894.         Swait()
  895.         for i = 0, 1, 0.1 / Animation_Speed do
  896.             Swait()
  897.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-280)), 0.3 / Animation_Speed)
  898.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(270)), 0.3 / Animation_Speed)
  899.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0 / Animation_Speed)
  900.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0 / Animation_Speed)
  901.             RightHip.C0 = Clerp(RightHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  902.             LeftHip.C0 = Clerp(LeftHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0 / Animation_Speed)
  903.         end
  904.         VALUE1 = true
  905.         Swait(10)
  906.         ATTACK = false
  907.         Rooted = false
  908.         Swait(60)
  909.         igotagun:Destroy()
  910.     end))
  911. end
  912.  
  913. function BanishingBullet()
  914.     ATTACK = true
  915.     Rooted = false
  916.     for i = 0, 0.4, 0.1 / Animation_Speed do
  917.         Swait()
  918.         turnto(Mouse.Hit.p)
  919.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(180), RAD(90)), 0.5 / Animation_Speed)
  920.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  921.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  922.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  923.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.5 / Animation_Speed)
  924.             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)
  925.     end
  926.     repeat
  927.         for i = 0, 0.2, 0.1 / Animation_Speed do
  928.             Swait()
  929.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(180), RAD(90)), 0.5 / Animation_Speed)
  930.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  931.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  932.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  933.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.5 / Animation_Speed)
  934.             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)
  935.         end
  936.         CreateSound("1153884873", GunPoint, 7, MRANDOM(9, 11) / 10)
  937.         local RayHit, Way = CastProperRay(GunPoint.Position, Mouse.Hit.p, 500, Character)
  938.         local distance = (GunPoint.Position - Way).magnitude
  939.         for i = 1, 1 do
  940.             local laser = Instance.new("Part", Effects)
  941.             local mes = Instance.new("SpecialMesh",laser) mes.MeshType = "Sphere"
  942.             laser.Transparency = 0
  943.             laser.CanCollide = false
  944.             laser.Anchored = true
  945.             laser.Color = Color3.fromRGB(100,0,255)
  946.             laser.Material = "Neon"
  947.             laser.formFactor = Enum.FormFactor.Custom
  948.             laser.Size = Vector3.new(0.5, 0.5, distance)
  949.             laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  950.            
  951.             table.insert(Effects2, {
  952.                 laser,
  953.                 "Disappear",
  954.                 .03,
  955.                 1,
  956.                 1,
  957.                 1,
  958.                 2
  959.             })
  960.             if RayHit ~= nil then
  961.                 local v = RayHit.Parent
  962.                 if v ~= nil and v.ClassName == "Model" then
  963.                     coroutine.resume(coroutine.create(function()
  964.                     v.Parent = nil
  965.                     e = v:FindFirstChildOfClass("Part")
  966.                     local boom = Instance.new("Explosion",workspace) boom.Position = e.Position boom.BlastRadius = 0
  967.                     end))
  968.                 end
  969.             end
  970.         end
  971.         wait(.3)
  972.         until KEYHOLD == false
  973.         for i = 0, 0.3, 0.1 / Animation_Speed do
  974.             Swait()
  975.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(180), RAD(90)), 0.5 / Animation_Speed)
  976.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  977.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  978.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  979.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.5 / Animation_Speed)
  980.             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)
  981.         end
  982.     ATTACK = false
  983.     Rooted = false
  984. end
  985. function WarpVector()
  986.     ATTACK = true
  987.     Rooted = true
  988.     for i = 0, 1, 0.1 / Animation_Speed do
  989.         Swait()
  990.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  991.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  992.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  993.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  994.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  995.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  996.     end
  997.     UNANCHOR = false
  998.     RootPart.Anchored = true
  999.     for i = 0, 2, 0.1 / Animation_Speed do
  1000.         Swait()
  1001.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1002.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1003.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1004.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1005.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1006.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1007.     end
  1008.     local POS = RootPart.Position
  1009.     RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  1010.     for i = 0, 2, 0.1 / Animation_Speed do
  1011.         Swait()
  1012.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1013.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1014.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1015.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1016.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1017.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1018.     end
  1019.     RootPart.Anchored = false
  1020.     ATTACK = false
  1021.     Rooted = false
  1022. end
  1023. function BanishingRampage()
  1024.     ATTACK = true
  1025.     Rooted = false
  1026.     chatfunc("Be gone...", 3)
  1027.     for i = 0, 2, 0.1 / Animation_Speed do
  1028.         Swait()
  1029.         turnto(Mouse.Hit.p)
  1030.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-10), RAD(0), RAD(30)), 0.5 / Animation_Speed)
  1031.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1032.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, .6, -0.3) * ANGLES(RAD(60), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1033.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1034.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(-10), RAD(-30)), 0.5 / Animation_Speed)
  1035.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(10), RAD(30)), 0.5 / Animation_Speed)
  1036.     end
  1037.     CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1038.     local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  1039.     CreateSound("138677306", Effects, 7, 1.2)
  1040.     coroutine.resume(coroutine.create(function()
  1041.         local CFRAME = CF(GunPoint.Position,Mouse.Hit.p)
  1042.         local SIZE = 5
  1043.         for i = 1,45 do
  1044.             wait(.03)
  1045.                 MagicSphere(VT(SIZE / 3, SIZE / 3, SIZE * 3), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Royal purple", VT(0.001, 0.001, 0), 0.5)
  1046.             do
  1047.                 MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Royal purple", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  1048.                 killnearest(CFRAME.p, SIZE, 0)
  1049.                 SIZE = SIZE + 60
  1050.                 CFRAME = CFRAME * CF(0, 0, -25 * (SIZE/25))
  1051.             end
  1052.         end
  1053.     end))
  1054.     MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.1, 0.1, 0.1))
  1055.     MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.05, 0.05, 0.05))
  1056.     for i = 0, 2, 0.1 / Animation_Speed do
  1057.         Swait()
  1058.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-10), RAD(0), RAD(30)), 0.5 / Animation_Speed)
  1059.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1060.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, .6, -0.3) * ANGLES(RAD(75), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1061.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1062.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(-10), RAD(-30)), 0.5 / Animation_Speed)
  1063.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(10), RAD(30)), 0.5 / Animation_Speed)
  1064.     end
  1065.     ATTACK = false
  1066.     Rooted = false
  1067. end
  1068.  
  1069. function kick()
  1070. ATTACK = true
  1071. local ayi = false
  1072.     function af(hit)
  1073.     local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1074.     if hum ~= nil and not ayi then
  1075.     local e = hum.Parent:FindFirstChildOfClass("Part") or hum.Parent:FindFirstChildOfClass("MeshPart")
  1076.     ayi = true
  1077.     CreateSound("207358216",Character,10,1)
  1078.     local boom = Instance.new("Explosion",workspace) boom.Position = e.Position boom.BlastRadius = 0
  1079.     hum.Parent.Archivable = true
  1080.     game:GetService("Debris"):AddItem(hum.Parent,0)
  1081.     end
  1082.     end
  1083.     local ay = hitbox.Touched:connect(af)
  1084. for i = 0, 1, 0.1 / Animation_Speed do
  1085.         Swait()
  1086.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1087.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(179), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1088.     end
  1089.     for i = 0, 1, 0.1 / Animation_Speed do
  1090.         Swait()
  1091.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1092.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(30), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1093.     end
  1094.     ay:disconnect()
  1095. ATTACK = false
  1096. end
  1097.  
  1098. function BEGONE()
  1099.     ATTACK = true
  1100.     Rooted = false
  1101.     chatfunc("BE GONE", 3)
  1102.     local begone = CreateSound("1095911222",Head,3,1) begone.TimePosition = 1 begone:Play() begone.EmitterSize = 500
  1103.     for i = 0, 2, 0.1 / Animation_Speed do
  1104.         Swait()
  1105.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1106.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1107.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(140), RAD(20), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1108.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1109.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1110.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(3)), 0.5 / Animation_Speed)
  1111.     end
  1112.     wait(.3)
  1113.     begone:Destroy()
  1114.     CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1115.     local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  1116.     local oh = CreateSound("138677306", Effects, 10, .8) oh.EmitterSize = 500
  1117.     local oh1 = CreateSound("138677306", Effects, 10, 1) oh1.EmitterSize = 500
  1118.     local oh2 = CreateSound("138677306", Effects, 10, 1.2) oh2.EmitterSize = 500
  1119.     coroutine.resume(coroutine.create(function()
  1120.         local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  1121.         local SIZE = 1
  1122.         while true do
  1123.             wait(.1)
  1124.                 MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Royal purple", VT(0.001, 0.001, 0), 0.5)
  1125.            
  1126.                 MagicSphere(VT(SIZE, SIZE, SIZE), 150, CFRAME, "Royal purple", VT(-SIZE / 150, -SIZE / 150, -SIZE / 150))
  1127.                 killnearest(CFRAME.p, SIZE, 0)
  1128.                 SIZE = SIZE + 177.7
  1129.                 CFRAME = CFRAME * CF(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1130.                 if SOUND.Playing == false then
  1131.                     break
  1132.            
  1133.             end
  1134.         end
  1135.     end))
  1136.     MagicSphere(VT(0.1, 0.1, 0.1), 90, GunPoint.CFrame, "Royal purple", VT(0.1, 0.1, 0.1))
  1137.     MagicSphere(VT(0.1, 0.1, 0.1), 90, GunPoint.CFrame, "Royal purple", VT(0.05, 0.05, 0.05))
  1138.     for i = 0, 3, 0.1 / Animation_Speed do
  1139.         Swait()
  1140.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1141.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1142.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1143.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1144.         RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1145.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1146.     end
  1147.     ATTACK = false
  1148.     Rooted = false
  1149. end
  1150.  
  1151. function SpectralBanishing()
  1152.     ATTACK = true
  1153.     Rooted = false
  1154.     local siz = 3
  1155.     local siz1 = 1
  1156.     local e = RootPart.CFrame * CF(0, -1.2, -3)
  1157.     chatfunc("If you desire to be a ghost...", 20)
  1158.     for i = 0, 5, 0.1 / Animation_Speed do
  1159.         Swait()
  1160.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1161.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1162.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1163.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(130), RAD(25), RAD(40)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1164.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1165.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1166.     end
  1167.     chatfunc("Then move on to the afterlife!", 6)
  1168.     CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1169.     MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.1, 0.1, 0.1))
  1170.     MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.05, 0.05, 0.05))
  1171.     local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  1172.     local distance = (GunPoint.Position - Way).magnitude
  1173.    
  1174.     coroutine.resume(coroutine.create(function()
  1175.         Swait(1)
  1176.         local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1177.     repeat
  1178.         Swait()
  1179.         HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1180.     until HITFLOOR ~= nil
  1181.     CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1182.     local oh2 = CreateSound("138677306", Effects, 10, 1.2) oh2.EmitterSize = 500
  1183.     for i = 1,15 do
  1184.                 MagicSphere(VT(siz1, siz1, siz1), 45, e, "Royal purple", VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)))
  1185.                 siz = siz + 1
  1186.                 e = e * EULER(MRANDOM(-1.57,1.57),MRANDOM(-1.57,1.57),MRANDOM(-1.57,1.57))
  1187.                 Swait(1)
  1188.     end
  1189.         MagicSphere(VT(siz,siz,siz),100,GunPoint.CFrame,"Really black",VT(10,10,10))
  1190.         Swait(5)
  1191.         MagicSphere(VT(siz,siz,siz),100,GunPoint.CFrame,"Royal purple",VT(15,15,15))
  1192.         killnearest(e.p,100,0)
  1193.         for i = 1, 15 do
  1194.             wait()
  1195.            
  1196.         end
  1197.     end))
  1198.     for i = 0, 2, 0.1 / Animation_Speed do
  1199.         Swait()
  1200.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  1201.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  1202.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1203.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1204.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1205.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1206.     end
  1207.     ATTACK = false
  1208.     Rooted = false
  1209. end
  1210. Humanoid.Name = "hahaiateurmom"
  1211. function lud()
  1212.     Character:BreakJoints()
  1213. end
  1214. function Taunt()
  1215.     ATTACK = true
  1216.         Rooted = true
  1217.         local igotagun = CreateSound("1883633498", Head, 10, 1)
  1218.         wait(2.7)
  1219.         for i = 0, 1, 0.1 / Animation_Speed do
  1220.             Swait()
  1221.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,1000) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.1 / Animation_Speed)
  1222.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1223.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5,.5,0) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1224.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5,0,0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1225.             RightHip.C0 = Clerp(RightHip.C0, CF(1,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1226.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1,-1,0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1227.         end
  1228.         for i = 0, 2, 0.1 / Animation_Speed do
  1229.             Swait()
  1230.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,-2) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.3 / Animation_Speed)
  1231.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  1232.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2,.4,0) * ANGLES(RAD(70), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0 / Animation_Speed)
  1233.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3,.3,.2) * ANGLES(RAD(110), RAD(90), RAD(-190)) * LEFTSHOULDERC0, 0 / Animation_Speed)
  1234.             RightHip.C0 = Clerp(RightHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  1235.             LeftHip.C0 = Clerp(LeftHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  1236.         end
  1237.         wait(1)
  1238.         for i = 0, 0.5, 0.1 / Animation_Speed do
  1239.             Swait()
  1240.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-160)), 0.3 / Animation_Speed)
  1241.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(160)), 0.3 / Animation_Speed)
  1242.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(.5,.3,-.5) * ANGLES(RAD(90), RAD(23), RAD(130)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1243.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3,.5,.2) * ANGLES(RAD(0), RAD(0), RAD(-100)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1244.             RightHip.C0 = Clerp(RightHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  1245.             LeftHip.C0 = Clerp(LeftHip.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0 / Animation_Speed)
  1246.         end
  1247.        
  1248.         VALUE1 = true
  1249.         Swait(10)
  1250.         ATTACK = false
  1251.         Rooted = false
  1252.         Swait(60)
  1253.         igotagun:Destroy()
  1254.  
  1255. end
  1256. function MouseDown(Mouse)
  1257.     if ATTACK == false then
  1258.     end
  1259. end
  1260. function MouseUp(Mouse)
  1261.     HOLD = false
  1262. end
  1263. function KeyDown(Key)
  1264.     KEYHOLD = true
  1265.     if Key == "z" and ATTACK == false then
  1266.         BanishingBullet()
  1267.     end
  1268.     if Key == "b" and ATTACK == false then
  1269.         BanishingRampage()
  1270.     end
  1271.     if Key == "c" and ATTACK == false then
  1272.         WarpVector()
  1273.     end
  1274.     if Key == "v" and ATTACK == false then
  1275.         SpectralBanishing()
  1276.     end
  1277.     if Key == "x" and ATTACK == false then
  1278.         chatfunc("I will show you mercy.", 2)
  1279.         Delete:ClearAllChildren()
  1280.     end
  1281.     if Key == "t" and ATTACK == false then
  1282.         Taunt()
  1283.     end
  1284.     if Key == "q" and ATTACK == false then
  1285.         BEGONE()
  1286.     end
  1287.     if Key == "p" and ATTACK == false then
  1288.         lud()
  1289.     end
  1290.     if Key == "e" and ATTACK == false then
  1291.         kick()
  1292.     end
  1293. end
  1294. function KeyUp(Key)
  1295.     KEYHOLD = false
  1296. end
  1297. Mouse.Button1Down:connect(function(NEWKEY)
  1298.     MouseDown(NEWKEY)
  1299. end)
  1300. Mouse.Button1Up:connect(function(NEWKEY)
  1301.     MouseUp(NEWKEY)
  1302. end)
  1303. Mouse.KeyDown:connect(function(NEWKEY)
  1304.     KeyDown(NEWKEY)
  1305. end)
  1306. Mouse.KeyUp:connect(function(NEWKEY)
  1307.     KeyUp(NEWKEY)
  1308. end)
  1309. function unanchor()
  1310.     if UNANCHOR == true then
  1311.         g = Character:GetChildren()
  1312.         for i = 1, #g do
  1313.             if g[i].ClassName == "Part" then
  1314.                 g[i].Anchored = false
  1315.             end
  1316.         end
  1317.     end
  1318. end
  1319. local BOLT
  1320. local FF = IT("ForceField", Character)
  1321. FF.Visible = false
  1322. while true do
  1323.     Swait()
  1324.     if BOLT ~= nil then
  1325.         BOLT:remove()
  1326.     end
  1327.     ANIMATE.Parent = nil
  1328.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1329.     IDLEANIMATION:Play()
  1330.     SINE = SINE + CHANGE
  1331.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1332.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1333.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1334.     local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1335.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1336.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1337.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1338.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1339.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.925 * COS(SINE*2 / WALKSPEEDVALUE)+.1 * (Player_Size)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(100 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)--thispoint
  1340.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.925 * COS(SINE*2 / WALKSPEEDVALUE)+.1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(100 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1341.     elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1342.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1343.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1344.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1345.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1346.     end
  1347.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1348.         ANIM = "Jump"
  1349.         if ATTACK == false then
  1350.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1351.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1352.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(167), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1353.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1354.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1355.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1356.         end
  1357.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1358.         ANIM = "Fall"
  1359.         if ATTACK == false then
  1360.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1361.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1362.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0 / Animation_Speed)
  1363.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1364.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1365.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1366.         end
  1367.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1368.         ANIM = "Idle"
  1369.         if ATTACK == false then
  1370.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.15 / Animation_Speed)
  1371.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1372.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(167), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1373.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1374.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(-20)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1375.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(20)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1376.         end
  1377.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1378.         ANIM = "Walk"
  1379.         WALK = WALK + 1 / Animation_Speed
  1380.         if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  1381.             WALK = 0
  1382.             if WALKINGANIM == true then
  1383.                 WALKINGANIM = false
  1384.             elseif WALKINGANIM == false then
  1385.                 WALKINGANIM = true
  1386.             end
  1387.         end
  1388.         if ATTACK == false then
  1389.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1390.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1391.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(167), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1392.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-60), RAD(0), RAD(-7)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1393.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1394.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.15 / Animation_Speed)
  1395.         end
  1396.     end
  1397.     if #Effects2 > 0 then
  1398.         for e = 1, #Effects2 do
  1399.             if Effects2[e] ~= nil then
  1400.                 local Thing = Effects2[e]
  1401.                 if Thing ~= nil then
  1402.                     local Part = Thing[1]
  1403.                     local Mode = Thing[2]
  1404.                     local Delay = Thing[3]
  1405.                     local IncX = Thing[4]
  1406.                     local IncY = Thing[5]
  1407.                     local IncZ = Thing[6]
  1408.                     local Part2 = Thing[8]
  1409.                     if Thing[1].Transparency <= 1 then
  1410.                         if Thing[2] == "Block1" then
  1411.                             Thing[1].CFrame = Thing[1].CFrame
  1412.                             Mesh = Thing[1].Mesh
  1413.                             Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1414.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1415.                         elseif Thing[2] == "Cylinder" then
  1416.                             Mesh = Thing[1].Mesh
  1417.                             Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1418.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1419.                         elseif Thing[2] == "Blood" then
  1420.                             Mesh = Thing[7]
  1421.                             Thing[1].CFrame = Thing[1].CFrame * CF(0, 0.5, 0)
  1422.                             Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1423.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1424.                         elseif Thing[2] == "Elec" then
  1425.                             Mesh = Thing[1].Mesh
  1426.                             Mesh.Scale = Mesh.Scale + VT(Thing[7], Thing[8], Thing[9])
  1427.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1428.                         elseif Thing[2] == "Disappear" then
  1429.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1430.                         end
  1431.                     else
  1432.                         Part.Parent = nil
  1433.                         table.remove(Effects2, e)
  1434.                     end
  1435.                 end
  1436.             end
  1437.         end
  1438.     end
  1439.     unanchor()
  1440.     Humanoid.MaxHealth = "inf"
  1441.     Humanoid.Health = "inf"
  1442.     if Rooted == false then
  1443.         Disable_Jump = false
  1444.         Humanoid.WalkSpeed = Speed
  1445.     elseif Rooted == true then
  1446.         Disable_Jump = true
  1447.         Humanoid.WalkSpeed = 0
  1448.     end
  1449.     if VALUE1 == true then
  1450.        
  1451.         SKILL1TEXT.TextTransparency = 0
  1452.         SKILL2TEXT.TextTransparency = 0
  1453.         SKILL3TEXT.TextTransparency = 0
  1454.         SKILL4TEXT.TextTransparency = 0
  1455.         SKILL5TEXT.TextTransparency = 0
  1456.     elseif VALUE1 == false then
  1457.         if ATTACK == false then
  1458.             Intro()
  1459.         end
  1460.         SKILL1TEXT.TextTransparency = 1
  1461.         SKILL2TEXT.TextTransparency = 1
  1462.         SKILL3TEXT.TextTransparency = 1
  1463.         SKILL4TEXT.TextTransparency = 1
  1464.         SKILL5TEXT.TextTransparency = 1
  1465.     end
  1466.     Humanoid.PlatformStand = false
  1467. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement