SHARE
TWEET

Untitled

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