wanTH092

Smite (leaky)

Jun 19th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 61.34 KB | None | 0 0
  1. --//====================================================\\--
  2. --||               CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Torso)
  28. sick.SoundId = "rbxassetid://1383202399"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 1
  32. sick:Play()
  33.  
  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.  
  51. --//=================================\\
  52. --||          USEFUL VALUES
  53. --\\=================================//
  54.  
  55. Animation_Speed = 3
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 12
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local HOLD = false
  67. local COMBO = 1
  68. local Rooted = false
  69. local SINE = 0
  70. local KEYHOLD = false
  71. local CHANGE = 2 / Animation_Speed
  72. local WALKINGANIM = false
  73. local VALUE1 = false
  74. local VALUE2 = false
  75. local ROBLOXIDLEANIMATION = IT("Animation")
  76. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  77. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "Weapon GUI"
  81. local Effects = IT("Folder", Character)
  82. Effects.Name = "Effects"
  83. local ANIMATOR = Humanoid.Animator
  84. local ANIMATE = Character.Animate
  85. local UNANCHOR = true
  86. local WHITELIST = {}
  87. local TAUNT = false
  88. local OFFSET = 0
  89. local FULL = false
  90.  
  91. --//=================================\\
  92. --\\=================================//
  93.  
  94.  
  95. --//=================================\\
  96. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  97. --\\=================================//
  98.  
  99. ArtificialHB = Instance.new("BindableEvent", script)
  100. ArtificialHB.Name = "ArtificialHB"
  101.  
  102. script:WaitForChild("ArtificialHB")
  103.  
  104. frame = Frame_Speed
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108. lastframe = tick()
  109. script.ArtificialHB:Fire()
  110.  
  111. game:GetService("RunService").Heartbeat:connect(function(s, p)
  112.     tf = tf + s
  113.     if tf >= frame then
  114.         if allowframeloss then
  115.             script.ArtificialHB:Fire()
  116.             lastframe = tick()
  117.         else
  118.             for i = 1, math.floor(tf / frame) do
  119.                 script.ArtificialHB:Fire()
  120.             end
  121.         lastframe = tick()
  122.         end
  123.         if tossremainder then
  124.             tf = 0
  125.         else
  126.             tf = tf - frame * math.floor(tf / frame)
  127.         end
  128.     end
  129. end)
  130.  
  131. --//=================================\\
  132. --\\=================================//
  133.  
  134. --//=================================\\
  135. --||          SOME FUNCTIONS
  136. --\\=================================//
  137.  
  138. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  139.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  140. end
  141.  
  142. function PositiveAngle(NUMBER)
  143.     if NUMBER >= 0 then
  144.         NUMBER = 0
  145.     end
  146.     return NUMBER
  147. end
  148.  
  149. function NegativeAngle(NUMBER)
  150.     if NUMBER <= 0 then
  151.         NUMBER = 0
  152.     end
  153.     return NUMBER
  154. end
  155.  
  156. function Swait(NUMBER)
  157.     if NUMBER == 0 or NUMBER == nil then
  158.         ArtificialHB.Event:wait()
  159.     else
  160.         for i = 1, NUMBER do
  161.             ArtificialHB.Event:wait()
  162.         end
  163.     end
  164. end
  165.  
  166. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  167.     local NEWMESH = IT(MESH)
  168.     if MESH == "SpecialMesh" then
  169.         NEWMESH.MeshType = MESHTYPE
  170.         if MESHID ~= "nil" and MESHID ~= "" then
  171.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  172.         end
  173.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  174.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  175.         end
  176.     end
  177.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  178.     NEWMESH.Scale = SCALE
  179.     NEWMESH.Parent = PARENT
  180.     return NEWMESH
  181. end
  182.  
  183. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  184.     local NEWPART = IT("Part")
  185.     NEWPART.formFactor = FORMFACTOR
  186.     NEWPART.Reflectance = REFLECTANCE
  187.     NEWPART.Transparency = TRANSPARENCY
  188.     NEWPART.CanCollide = false
  189.     NEWPART.Locked = true
  190.     NEWPART.Anchored = true
  191.     if ANCHOR == false then
  192.         NEWPART.Anchored = false
  193.     end
  194.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  195.     NEWPART.Name = NAME
  196.     NEWPART.Size = SIZE
  197.     NEWPART.Position = Torso.Position
  198.     NEWPART.Material = MATERIAL
  199.     NEWPART:BreakJoints()
  200.     NEWPART.Parent = PARENT
  201.     return NEWPART
  202. end
  203.  
  204.     local function weldBetween(a, b)
  205.         local weldd = Instance.new("ManualWeld")
  206.         weldd.Part0 = a
  207.         weldd.Part1 = b
  208.         weldd.C0 = CFrame.new()
  209.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  210.         weldd.Parent = a
  211.         return weldd
  212.     end
  213.  
  214.  
  215. function QuaternionFromCFrame(cf)
  216.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  217.     local trace = m00 + m11 + m22
  218.     if trace > 0 then
  219.         local s = math.sqrt(1 + trace)
  220.         local recip = 0.5 / s
  221.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  222.     else
  223.         local i = 0
  224.         if m11 > m00 then
  225.             i = 1
  226.         end
  227.         if m22 > (i == 0 and m00 or m11) then
  228.             i = 2
  229.         end
  230.         if i == 0 then
  231.             local s = math.sqrt(m00 - m11 - m22 + 1)
  232.             local recip = 0.5 / s
  233.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  234.         elseif i == 1 then
  235.             local s = math.sqrt(m11 - m22 - m00 + 1)
  236.             local recip = 0.5 / s
  237.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  238.         elseif i == 2 then
  239.             local s = math.sqrt(m22 - m00 - m11 + 1)
  240.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  241.         end
  242.     end
  243. end
  244.  
  245. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  246.     local xs, ys, zs = x + x, y + y, z + z
  247.     local wx, wy, wz = w * xs, w * ys, w * zs
  248.     local xx = x * xs
  249.     local xy = x * ys
  250.     local xz = x * zs
  251.     local yy = y * ys
  252.     local yz = y * zs
  253.     local zz = z * zs
  254.     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))
  255. end
  256.  
  257. function QuaternionSlerp(a, b, t)
  258.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  259.     local startInterp, finishInterp;
  260.     if cosTheta >= 0.0001 then
  261.         if (1 - cosTheta) > 0.0001 then
  262.             local theta = ACOS(cosTheta)
  263.             local invSinTheta = 1 / SIN(theta)
  264.             startInterp = SIN((1 - t) * theta) * invSinTheta
  265.             finishInterp = SIN(t * theta) * invSinTheta
  266.         else
  267.             startInterp = 1 - t
  268.             finishInterp = t
  269.         end
  270.     else
  271.         if (1 + cosTheta) > 0.0001 then
  272.             local theta = ACOS(-cosTheta)
  273.             local invSinTheta = 1 / SIN(theta)
  274.             startInterp = SIN((t - 1) * theta) * invSinTheta
  275.             finishInterp = SIN(t * theta) * invSinTheta
  276.         else
  277.             startInterp = t - 1
  278.             finishInterp = t
  279.         end
  280.     end
  281.     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
  282. end
  283.  
  284. function Clerp(a, b, t)
  285.     local qa = {QuaternionFromCFrame(a)}
  286.     local qb = {QuaternionFromCFrame(b)}
  287.     local ax, ay, az = a.x, a.y, a.z
  288.     local bx, by, bz = b.x, b.y, b.z
  289.     local _t = 1 - t
  290.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  291. end
  292.  
  293. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  294.     local frame = IT("Frame")
  295.     frame.BackgroundTransparency = TRANSPARENCY
  296.     frame.BorderSizePixel = BORDERSIZEPIXEL
  297.     frame.Position = POSITION
  298.     frame.Size = SIZE
  299.     frame.BackgroundColor3 = COLOR
  300.     frame.BorderColor3 = BORDERCOLOR
  301.     frame.Name = NAME
  302.     frame.Parent = PARENT
  303.     return frame
  304. end
  305.  
  306. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  307.     local label = IT("TextLabel")
  308.     label.BackgroundTransparency = 1
  309.     label.Size = UD2(1, 0, 1, 0)
  310.     label.Position = UD2(0, 0, 0, 0)
  311.     label.TextColor3 = TEXTCOLOR
  312.     label.TextStrokeTransparency = STROKETRANSPARENCY
  313.     label.TextTransparency = TRANSPARENCY
  314.     label.FontSize = TEXTFONTSIZE
  315.     label.Font = TEXTFONT
  316.     label.BorderSizePixel = BORDERSIZEPIXEL
  317.     label.TextScaled = false
  318.     label.Text = TEXT
  319.     label.Name = NAME
  320.     label.Parent = PARENT
  321.     return label
  322. end
  323.  
  324. function NoOutlines(PART)
  325.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  326. end
  327.  
  328. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  329.     local NEWWELD = IT(TYPE)
  330.     NEWWELD.Part0 = PART0
  331.     NEWWELD.Part1 = PART1
  332.     NEWWELD.C0 = C0
  333.     NEWWELD.C1 = C1
  334.     NEWWELD.Parent = PARENT
  335.     return NEWWELD
  336. end
  337.  
  338. local S = IT("Sound")
  339. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  340.     local NEWSOUND = nil
  341.     coroutine.resume(coroutine.create(function()
  342.         NEWSOUND = S:Clone()
  343.         NEWSOUND.Parent = PARENT
  344.         NEWSOUND.Volume = VOLUME
  345.         NEWSOUND.Pitch = PITCH
  346.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  347.         NEWSOUND:play()
  348.         if DOESLOOP == true then
  349.             NEWSOUND.Looped = true
  350.         else
  351.             repeat wait(1) until NEWSOUND.Playing == false
  352.             NEWSOUND:remove()
  353.         end
  354.     end))
  355.     return NEWSOUND
  356. end
  357.  
  358. function CFrameFromTopBack(at, top, back)
  359.     local right = top:Cross(back)
  360.     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)
  361. end
  362.  
  363. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  364. function WACKYEFFECT(Table)
  365.     local TYPE = (Table.EffectType or "Sphere")
  366.     local SIZE = (Table.Size or VT(1,1,1))
  367.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  368.     local TRANSPARENCY = (Table.Transparency or 0)
  369.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  370.     local CFRAME = (Table.CFrame or Torso.CFrame)
  371.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  372.     local ROTATION1 = (Table.RotationX or 0)
  373.     local ROTATION2 = (Table.RotationY or 0)
  374.     local ROTATION3 = (Table.RotationZ or 0)
  375.     local MATERIAL = (Table.Material or "Neon")
  376.     local COLOR = (Table.Color or C3(1,1,1))
  377.     local TIME = (Table.Time or 45)
  378.     local SOUNDID = (Table.SoundID or nil)
  379.     local SOUNDPITCH = (Table.SoundPitch or nil)
  380.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  381.     coroutine.resume(coroutine.create(function()
  382.         local PLAYSSOUND = false
  383.         local SOUND = nil
  384.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  385.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  386.             PLAYSSOUND = true
  387.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  388.         end
  389.         EFFECT.Color = COLOR
  390.         local MSH = nil
  391.         if TYPE == "Sphere" then
  392.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  393.         elseif TYPE == "Block" then
  394.             MSH = IT("BlockMesh",EFFECT)
  395.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  396.         elseif TYPE == "Wave" then
  397.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  398.         elseif TYPE == "Ring" then
  399.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  400.         elseif TYPE == "Slash" then
  401.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  402.         elseif TYPE == "Round Slash" then
  403.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  404.         elseif TYPE == "Swirl" then
  405.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  406.         elseif TYPE == "Skull" then
  407.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  408.         elseif TYPE == "Crystal" then
  409.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  410.         end
  411.         if MSH ~= nil then
  412.             local MOVESPEED = nil
  413.             if MOVEDIRECTION ~= nil then
  414.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  415.             end
  416.             local GROWTH = SIZE - ENDSIZE
  417.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  418.             if TYPE == "Block" then
  419.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  420.             else
  421.                 EFFECT.CFrame = CFRAME
  422.             end
  423.             for LOOP = 1, TIME+1 do
  424.                 Swait()
  425.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  426.                 if TYPE == "Wave" then
  427.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  428.                 end
  429.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  430.                 if TYPE == "Block" then
  431.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  432.                 else
  433.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  434.                 end
  435.                 if MOVEDIRECTION ~= nil then
  436.                     local ORI = EFFECT.Orientation
  437.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  438.                     EFFECT.Orientation = ORI
  439.                 end
  440.             end
  441.             if PLAYSSOUND == false then
  442.                 EFFECT:remove()
  443.             else
  444.                 SOUND.Stopped:Connect(function()
  445.                     EFFECT:remove()
  446.                 end)
  447.             end
  448.         else
  449.             if PLAYSSOUND == false then
  450.                 EFFECT:remove()
  451.             else
  452.                 repeat Swait() until SOUND.Playing == false
  453.                 EFFECT:remove()
  454.             end
  455.         end
  456.     end))
  457. end
  458.  
  459. function MakeForm(PART,TYPE)
  460.     if TYPE == "Cyl" then
  461.         local MSH = IT("CylinderMesh",PART)
  462.     elseif TYPE == "Ball" then
  463.         local MSH = IT("SpecialMesh",PART)
  464.         MSH.MeshType = "Sphere"
  465.     elseif TYPE == "Wedge" then
  466.         local MSH = IT("SpecialMesh",PART)
  467.         MSH.MeshType = "Wedge"
  468.     end
  469. end
  470.  
  471. Debris = game:GetService("Debris")
  472.  
  473. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  474.     local DIRECTION = CF(StartPos,EndPos).lookVector
  475.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  476. end
  477.  
  478. local EyeSizes={
  479.     NumberSequenceKeypoint.new(0,1,0),
  480.     NumberSequenceKeypoint.new(1,0,0)
  481. }
  482. local EyeTrans={
  483.     NumberSequenceKeypoint.new(0,0.8,0),
  484.     NumberSequenceKeypoint.new(1,1,0)
  485. }
  486. local PE=Instance.new("ParticleEmitter",nil)
  487. PE.LightEmission=.8
  488. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  489. PE.Size=NumberSequence.new(EyeSizes)
  490. PE.Transparency=NumberSequence.new(EyeTrans)
  491. PE.Lifetime=NumberRange.new(0.35,1.5)
  492. PE.Rotation=NumberRange.new(0,360)
  493. PE.Rate=999
  494. PE.VelocitySpread = 10000
  495. PE.Acceleration = Vector3.new(0,0,0)
  496. PE.Drag = 5
  497. PE.Speed = NumberRange.new(0,0,0)
  498. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  499. PE.ZOffset = -0
  500. PE.Name = "PE"
  501. PE.Enabled = false
  502.  
  503. function particles(art)
  504.     local PARTICLES = PE:Clone()
  505.     PARTICLES.Parent = art
  506. end
  507.  
  508. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  509.     if FLOOR ~= nil then
  510.         coroutine.resume(coroutine.create(function()
  511.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  512.             PART.CFrame = CF(POSITION)
  513.             for i = 1, 45 do
  514.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  515.                 RingPiece.Material = FLOOR.Material
  516.                 RingPiece.Color = FLOOR.Color
  517.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  518.                 Debris:AddItem(RingPiece,SWAIT)
  519.             end
  520.             PART:remove()
  521.         end))
  522.     end
  523. end
  524.  
  525. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  526.     if FLOOR ~= nil then
  527.         for i = 1, AMOUNT do
  528.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  529.             DEBREE.Material = FLOOR.Material
  530.             DEBREE.Color = FLOOR.Color
  531.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  532.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  533.             coroutine.resume(coroutine.create(function()
  534.                 Swait(15)
  535.                 DEBREE.Parent = workspace
  536.                 DEBREE.CanCollide = true
  537.                 Debris:AddItem(DEBREE,SWAIT)
  538.             end))
  539.         end
  540.     end
  541. end
  542.  
  543. --//=================================\\
  544. --||         WEAPON CREATION
  545. --\\=================================//
  546.  
  547. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  548. PRT.Color = C3(0,0,0)
  549. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  550. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  551. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  552. PRT.Color = C3(0,0,0)
  553. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  554. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  555. for i = 1, 16 do
  556.     local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  557.     FACE.Color = C3(0,0,0)
  558.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  559.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  560. end
  561. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  562. MakeForm(EYE,"Ball")
  563. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  564. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  565. MakeForm(EYE2,"Ball")
  566. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  567. local LASTPART = Head
  568. for i = 1, 20 do
  569.     local MATH = (1-(i/25))
  570.     if LASTPART == Head then
  571.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  572.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  573.         LASTPART = Horn
  574.         Horn.Color = C3((i*3-3)/255,0,0)
  575.     else
  576.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  577.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  578.         LASTPART = Horn
  579.         Horn.Color = C3((i*3-3)/255,0,0)
  580.     end
  581. end
  582. local LASTPART = Head
  583. for i = 1, 20 do
  584.     local MATH = (1-(i/25))
  585.     if LASTPART == Head then
  586.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  587.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  588.         LASTPART = Horn
  589.         Horn.Color = C3((i*3-3)/255,0,0)
  590.     else
  591.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  592.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  593.         LASTPART = Horn
  594.         Horn.Color = C3((i*3-3)/255,0,0)
  595.     end
  596. end
  597. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  598. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  599. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  600. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  601. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  602. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  603.  
  604. local BODY = {}
  605.  
  606. for _, c in pairs(Character:GetDescendants()) do
  607.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  608.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  609.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  610.         end
  611.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  612.     elseif c:IsA("JointInstance") then
  613.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  614.     end
  615. end
  616.  
  617. for e = 1, #BODY do
  618.     if BODY[e] ~= nil then
  619.         local STUFF = BODY[e]
  620.         local PART = STUFF[1]
  621.         local PARENT = STUFF[2]
  622.         local MATERIAL = STUFF[3]
  623.         local COLOR = STUFF[4]
  624.         local TRANSPARENCY = STUFF[5]
  625.         if PART.ClassName == "Part" and PART ~= RootPart then
  626.             PART.Material = MATERIAL
  627.             PART.Color = COLOR
  628.             PART.Transparency = TRANSPARENCY
  629.         end
  630.         PART.AncestryChanged:Connect(function()
  631.             PART.Parent = PARENT
  632.         end)
  633.     end
  634. end
  635.  
  636. function refit()
  637.     Character.Parent = workspace
  638.     for e = 1, #BODY do
  639.         if BODY[e] ~= nil then
  640.             local STUFF = BODY[e]
  641.             local PART = STUFF[1]
  642.             local PARENT = STUFF[2]
  643.             local MATERIAL = STUFF[3]
  644.             local COLOR = STUFF[4]
  645.             local TRANSPARENCY = STUFF[5]
  646.             if PART.ClassName == "Part" and PART ~= RootPart then
  647.                 PART.Material = MATERIAL
  648.                 PART.Color = COLOR
  649.                 PART.Transparency = TRANSPARENCY
  650.             end
  651.             if PART.Parent ~= PARENT then
  652.                 Humanoid:remove()
  653.                 PART.Parent = PARENT
  654.                 Humanoid = IT("Humanoid",Character)
  655.             end
  656.         end
  657.     end
  658. end
  659.  
  660. local SKILLTEXTCOLOR = C3(0,0,0)
  661. local SKILLFONT = "Antique"
  662. local SKILLTEXTSIZE = 7
  663.  
  664. Humanoid.Died:connect(function()
  665.     refit()
  666. end)
  667.  
  668. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  669. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  670. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  671. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  672. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  673. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  674.  
  675. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  676. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Clear whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  677. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Smite", SKILLTEXTCOLOR, 8, SKILLFONT, 0, 2, 1, "Text 3")
  678. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor Shower", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 4")
  679. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 5")
  680. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Equivalent Pain", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 6")
  681.  
  682. function Blink()
  683.     coroutine.resume(coroutine.create(function()
  684.         if EYE ~= nil then
  685.             for i = 1, 5 do
  686.                 Swait()
  687.                 EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  688.                 EYE2.Mesh.Scale = EYE.Mesh.Scale
  689.             end
  690.             for i = 1, 7 do
  691.                 Swait()
  692.                 EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  693.                 EYE2.Mesh.Scale = EYE.Mesh.Scale
  694.             end
  695.             EYE.Mesh.Scale = VT(1,1,1)
  696.             EYE2.Mesh.Scale = EYE.Mesh.Scale
  697.         end
  698.     end))
  699. end
  700.  
  701. --//=================================\\
  702. --||         DAMAGE FUNCTIONS
  703. --\\=================================//
  704.  
  705. function StatLabel(CFRAME, TEXT, COLOR)
  706.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  707.     STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  708.     local BODYGYRO = IT("BodyGyro", STATPART)
  709.     game:GetService("Debris"):AddItem(STATPART ,5)
  710.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  711.     BILLBOARDGUI.Adornee = STATPART
  712.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  713.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  714.     BILLBOARDGUI.AlwaysOnTop = false
  715.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  716.     TEXTLABEL.BackgroundTransparency = 1
  717.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  718.     TEXTLABEL.Text = TEXT
  719.     TEXTLABEL.Font = SKILLFONT
  720.     TEXTLABEL.FontSize="Size42"
  721.     TEXTLABEL.TextColor3 = COLOR
  722.     TEXTLABEL.TextStrokeTransparency = 0
  723.     TEXTLABEL.TextScaled = true
  724.     TEXTLABEL.TextWrapped = true
  725.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  726.         for i = 1, 50 do
  727.             Swait()
  728.             STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  729.             TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  730.             TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  731.         end
  732.         THEPART.Parent = nil
  733.     end),STATPART, TEXTLABEL)
  734. end
  735.  
  736. --//=================================\\
  737. --||            DAMAGING
  738. --\\=================================//
  739.  
  740. function KillChildren(v)
  741.     v:BreakJoints()
  742.     for _, c in pairs(v:GetChildren()) do
  743.         if c:IsA("BasePart") then
  744.             if c.Transparency < 1 then
  745.                 if c:FindFirstChildOfClass("Decal") then
  746.                     c:FindFirstChildOfClass("Decal"):remove()
  747.                 end
  748.                 particles(c)
  749.                 c.PE.Enabled = true
  750.                 c.Parent = Effects
  751.                 c.CanCollide = false
  752.                 c.Material = "Neon"
  753.                 c.Color = C3(1,0,0)
  754.                 c.Transparency = 1
  755.                 local grav = Instance.new("BodyPosition",c)
  756.                 grav.P = 20000
  757.                 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  758.                 grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  759.                 grav.Name = "GravityForce"
  760.                 coroutine.resume(coroutine.create(function()
  761.                     for i = 1, 20 do
  762.                         Swait()
  763.                         c.Transparency = c.Transparency + 1/20
  764.                     end
  765.                     c.PE.Enabled = false
  766.                     Debris:AddItem(c,2)
  767.                 end))
  768.             end
  769.         end
  770.     end
  771. end
  772.  
  773. function ApplyAoE(POSITION,RANGE)
  774.     local CHILDREN = workspace:GetDescendants()
  775.     for index, CHILD in pairs(CHILDREN) do
  776.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  777.             local LISTED = false
  778.             for LIST = 1, #WHITELIST do
  779.                 if WHITELIST[LIST] ~= nil then
  780.                     if CHILD.Name == WHITELIST[LIST] then
  781.                         LISTED = true
  782.                     end
  783.                 end
  784.             end
  785.             if LISTED == false then
  786.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  787.                 if HUM then
  788.                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  789.                     if TORSO then
  790.                         if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  791.                             KillChildren(CHILD)
  792.                         end
  793.                     end
  794.                 end
  795.             end
  796.         end
  797.     end
  798. end
  799.  
  800. --//=================================\\
  801. --||    ATTACK FUNCTIONS AND STUFF
  802. --\\=================================//
  803.  
  804. function Click()
  805.     ATTACK = true
  806.     Rooted = false
  807.     local HIT = nil
  808.     OFFSET = -45
  809.     for i=0, 1, 0.1 / Animation_Speed do
  810.         Swait()
  811.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  812.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  813.     end
  814.     OFFSET = 45
  815.     local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  816.     PUNCH.CanCollide = true
  817.     CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  818.     TAUNT = true
  819.     local TOUCH = PUNCH.Touched:Connect(function(hit)
  820.         if hit.Parent:FindFirstChildOfClass("Humanoid") then
  821.             HIT = hit.Parent
  822.         end
  823.     end)
  824.     for i=0, 0.3, 0.1 / Animation_Speed do
  825.         Swait()
  826.         RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  827.         if HIT ~= nil then
  828.             break
  829.         end
  830.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  831.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  832.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  833.     end
  834.     PUNCH:remove()
  835.     TOUCH:disconnect()
  836.     if HIT ~= nil then
  837.         for _, c in pairs(HIT:GetChildren()) do
  838.             if c:IsA("BasePart") then
  839.                 c.Anchored = true
  840.             end
  841.         end
  842.         Rooted = true
  843.         CreateSound(649634100, Torso, 10, 0.8)
  844.         CreateSound(1368573150, RightArm, 3, 1.5)
  845.         for i=0, 0.6, 0.1 / Animation_Speed do
  846.             Swait()
  847.             WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  848.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  849.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  850.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  851.         end
  852.         for _, c in pairs(HIT:GetChildren()) do
  853.             if c:IsA("BasePart") then
  854.                 c.Anchored = false
  855.             end
  856.         end
  857.         KillChildren(HIT)
  858.     end
  859.     OFFSET = 0
  860.     ATTACK = false
  861.     Rooted = false
  862.     TAUNT = false
  863. end
  864.  
  865. function Whitelist()
  866.     if Mouse.Target ~= nil then
  867.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  868.             if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then
  869.                 table.insert(WHITELIST,Mouse.Target.Parent.Name)
  870.             end
  871.         end
  872.     end
  873. end
  874.  
  875. function Clear_Whitelist()
  876.     if Mouse.Target ~= nil then
  877.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  878.             for LIST = 1, #WHITELIST do
  879.                 if WHITELIST[LIST] ~= nil then
  880.                     if Mouse.Target.Parent.Name == WHITELIST[LIST] then
  881.                         table.remove(WHITELIST,LIST)
  882.                         for _, c in pairs(Cam:GetChildren()) do
  883.                             if c.Name == Mouse.Target.Parent.Name then
  884.                                 c:remove()
  885.                             end
  886.                         end
  887.                     end
  888.                 end
  889.             end
  890.         end
  891.     end
  892. end
  893.  
  894. function SpawnSmite(POS)
  895.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  896.     local EMITPOS = HITPOS
  897.     if HITFLOOR ~= nil then
  898.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  899.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  900.             EMITPOS = HITPOS
  901.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  902.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  903.             EMITPOS = HITPOS
  904.         end
  905.     end
  906.     if HITFLOOR ~= nil then
  907.         ApplyAoE(EMITPOS,10)
  908.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  909.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  910.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  911.         for i = 1, 5 do
  912.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  913.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  914.         end
  915.     end
  916. end
  917.  
  918. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  919.     coroutine.resume(coroutine.create(function()
  920.         local METEOR = IT("Model",Effects)
  921.         METEOR.Name = "Meteorite"
  922.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  923.         METEOR.PrimaryPart = CENTER
  924.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  925.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  926.         for i = 1, 15 do
  927.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  928.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  929.         end
  930.         if ISDEBREE ~= true then
  931.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  932.         else
  933.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  934.         end
  935.         local IMPACT = false
  936.         CreateSound(463593339, CENTER, 10, 0.6)
  937.         if SIZE >= 3.5 then
  938.             for i = 1, MRANDOM(3,7) do
  939.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  940.             end
  941.         end
  942.         for i = 1, 200 do
  943.             Swait()
  944.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  945.             if HITFLOOR == nil then
  946.                 local ORI = CENTER.Orientation
  947.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  948.             else
  949.                 if HITFLOOR.Anchored == true then
  950.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  951.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  952.                 end
  953.                 IMPACT = true
  954.                 break
  955.             end
  956.         end
  957.         if IMPACT == true then
  958.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  959.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  960.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  961.             ApplyAoE(CENTER.Position,30*SIZE)
  962.         end
  963.         METEOR:remove()
  964.     end))
  965. end
  966.  
  967. function Smite()
  968.     ATTACK = true
  969.     Rooted = false
  970.     CreateSound(1368573150, RightArm, 3, 1.5)
  971.     for i=0, 0.6, 0.1 / Animation_Speed do
  972.         Swait()
  973.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  974.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  975.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  976.     end
  977.     local POWER = 0
  978.     repeat
  979.         Swait()
  980.         WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  981.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  982.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  983.         POWER = POWER + 0.5
  984.         if POWER >= 85 then
  985.             POWER = 85
  986.         end
  987.     until KEYHOLD == false
  988.     if POWER < 0.6 then
  989.         SpawnSmite(Mouse.Hit.p)
  990.     else
  991.         if POWER < 15 then
  992.             POWER = 15
  993.         end
  994.         SpawnMeteor(Mouse.Hit.p,POWER/15)
  995.     end
  996.     ATTACK = false
  997.     Rooted = false
  998. end
  999.  
  1000. function Meteor_Shower()
  1001.     ATTACK = true
  1002.     Rooted = false
  1003.     CreateSound(1368573150, RightArm, 3, 0.8)
  1004.     CreateSound(649634100, Torso, 10, 0.8)
  1005.     for i=0, 1.2, 0.1 / Animation_Speed do
  1006.         Swait()
  1007.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1008.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1009.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1010.     end
  1011.     local POS = Mouse.Hit.p
  1012.     CreateSound(463593339, Effects, 3, 1)
  1013.     coroutine.resume(coroutine.create(function()
  1014.         for i = 1, 35 do
  1015.             wait(MRANDOM(5,150)/100)
  1016.             SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  1017.         end
  1018.     end))
  1019.     ATTACK = false
  1020.     Rooted = false
  1021. end
  1022.  
  1023. function Taunt()
  1024.     ATTACK = true
  1025.     Rooted = false
  1026.     TAUNT = true
  1027.     for i=0, 0.1, 0.1 / Animation_Speed do
  1028.         Swait()
  1029.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1030.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1031.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1032.     end
  1033.     for i=0, 3, 0.1 / Animation_Speed do
  1034.         Swait()
  1035.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1036.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1037.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1038.     end
  1039.     CreateSound(363808674, Torso, 10, 1.3)
  1040.     for i=0, 1, 0.1 / Animation_Speed do
  1041.         Swait()
  1042.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1043.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1044.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1045.     end
  1046.     WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1047.     CreateSound(649634100, Torso, 10, 0.8)
  1048.     for i=0, 0.01, 0.1 / Animation_Speed do
  1049.         Swait()
  1050.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1051.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1052.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1053.     end
  1054.     ATTACK = false
  1055.     Rooted = false
  1056.     TAUNT = false
  1057. end
  1058.  
  1059. function Teleport()
  1060.     ATTACK = true
  1061.     Rooted = false
  1062.     for i=0, 0.5, 0.1 / Animation_Speed do
  1063.         Swait()
  1064.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1065.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1066.     end
  1067.     for e = 1, #BODY do
  1068.         if BODY[e] ~= nil then
  1069.             local STUFF = BODY[e]
  1070.             local PART = STUFF[1]
  1071.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1072.                 local PRT = PART:Clone()
  1073.                 PRT.Anchored = true
  1074.                 PRT.CanCollide = false
  1075.                 PRT.Material = "Neon"
  1076.                 PRT.Color = C3(1,0,0)
  1077.                 PRT.Name = "WarpEffect"
  1078.                 PRT.Parent = Effects
  1079.                 PRT.CFrame = PART.CFrame
  1080.                 PRT:BreakJoints()
  1081.                 if PRT:FindFirstChildOfClass("Sound") then
  1082.                     PRT:FindFirstChildOfClass("Sound"):remove()
  1083.                 end
  1084.                 if PRT:FindFirstChildOfClass("Decal") then
  1085.                     PRT:FindFirstChildOfClass("Decal"):remove()
  1086.                 end
  1087.                 coroutine.resume(coroutine.create(function()
  1088.                     for i = 1, 100 do
  1089.                         Swait()
  1090.                         PRT.Transparency = PRT.Transparency + 1/100
  1091.                     end
  1092.                     PRT:remove()
  1093.                 end))
  1094.             end
  1095.         end
  1096.     end
  1097.     CreateSound(217767125, Torso, 10, 1)
  1098.     local POS = RootPart.Orientation
  1099.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1100.     RootPart.Orientation = POS
  1101.     RootJoint.Parent = RootPart
  1102.     for i=0, 0.5, 0.1 / Animation_Speed do
  1103.         Swait()
  1104.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1105.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1106.     end
  1107.     for i=0, 0.1, 0.1 / Animation_Speed do
  1108.         Swait()
  1109.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1110.     end
  1111.     ATTACK = false
  1112.     Rooted = false
  1113. end
  1114.  
  1115. function Equivalent_Pain()
  1116.     local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1117.         if HITFLOOR then
  1118.         ATTACK = true
  1119.         Rooted = true
  1120.         FULL = true
  1121.         local GYRO = IT("BodyGyro",RootPart)
  1122.         GYRO.D = 25
  1123.         GYRO.P = 20000
  1124.         GYRO.MaxTorque = VT(0,math.huge,0)
  1125.         for i=0, 0.3, 0.1 / Animation_Speed do
  1126.             GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1127.             Swait()
  1128.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1129.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1130.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1131.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1132.             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(-35)), 1 / Animation_Speed)
  1133.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  1134.         end
  1135.         GYRO:remove()
  1136.         CreateSound(12222200, RightArm, 10, 1)
  1137.         for i=0, 0.4, 0.1 / Animation_Speed do
  1138.             Swait()
  1139.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1140.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1141.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1142.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1143.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1144.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1145.         end
  1146.         CreateSound(289842971, RightArm, 10, 1)
  1147.         coroutine.resume(coroutine.create(function()
  1148.             local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  1149.             local ECHO = POS
  1150.             if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1151.                 HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1152.                 ECHO = POS
  1153.             elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1154.                 HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1155.                 ECHO = POS
  1156.             end
  1157.             if ECHO.Y == HITPOS.Y then
  1158.                 local DISTANCE = (HITPOS - ECHO).Magnitude/3
  1159.                 local CFRAME = CF(HITPOS,ECHO)
  1160.                 local RANGE = math.ceil(DISTANCE)
  1161.                 for i = 1, RANGE-1 do
  1162.                     Swait(3)
  1163.                     local A = CFRAME*CF(0,0,-i*3)
  1164.                     ApplyAoE(A.p,4)
  1165.                     CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65)
  1166.                 end
  1167.                 local SIZE = 3
  1168.                 local POS = CFRAME*CF(0,0,-RANGE*3).p
  1169.                 WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  1170.                 WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1171.                 WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1172.                 for i = 1, 9 do
  1173.                     WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1174.                 end
  1175.                 for i = 1, 9 do
  1176.                     WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1177.                 end
  1178.                 ApplyAoE(POS,30*SIZE)
  1179.                 CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  1180.                 CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  1181.             end
  1182.         end))
  1183.         for i=0, 0.6, 0.1 / Animation_Speed do
  1184.             Swait()
  1185.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1186.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1187.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1188.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1189.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1190.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1191.         end
  1192.         FULL = false
  1193.         ATTACK = false
  1194.         Rooted = false
  1195.     end
  1196. end
  1197.  
  1198. --//=================================\\
  1199. --||      ASSIGN THINGS TO KEYS
  1200. --\\=================================//
  1201.  
  1202. function MouseDown(Mouse)
  1203.     if ATTACK == false then
  1204.         Click()
  1205.     end
  1206. end
  1207.  
  1208. function MouseUp(Mouse)
  1209. HOLD = false
  1210. end
  1211.  
  1212. function KeyDown(Key)
  1213.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1214.         KEYHOLD = true
  1215.         if Key == "z" and ATTACK == false then
  1216.             Whitelist()
  1217.         end
  1218.    
  1219.         if Key == "b" and ATTACK == false then
  1220.             Clear_Whitelist()
  1221.         end
  1222.    
  1223.         if Key == "c" and ATTACK == false then
  1224.             Smite()
  1225.         end
  1226.    
  1227.         if Key == "x" and ATTACK == false then
  1228.             Meteor_Shower()
  1229.         end
  1230.    
  1231.         if Key == "t" and ATTACK == false then
  1232.             Taunt()
  1233.         end
  1234.  
  1235.         if Key == "q" and ATTACK == false then
  1236.             Teleport()
  1237.         end
  1238.  
  1239.         if Key == "p" and ATTACK == false then
  1240.             Equivalent_Pain()
  1241.         end
  1242.     end
  1243. end
  1244.  
  1245. function KeyUp(Key)
  1246.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1247.         KEYHOLD = false
  1248.     end
  1249. end
  1250.  
  1251.     Mouse.Button1Down:connect(function(NEWKEY)
  1252.         MouseDown(NEWKEY)
  1253.     end)
  1254.     Mouse.Button1Up:connect(function(NEWKEY)
  1255.         MouseUp(NEWKEY)
  1256.     end)
  1257.     Mouse.KeyDown:connect(function(NEWKEY)
  1258.         KeyDown(NEWKEY)
  1259.     end)
  1260.     Mouse.KeyUp:connect(function(NEWKEY)
  1261.         KeyUp(NEWKEY)
  1262.     end)
  1263.  
  1264. --//=================================\\
  1265. --\\=================================//
  1266.  
  1267.  
  1268. function unanchor()
  1269.     if UNANCHOR == true then
  1270.         g = Character:GetChildren()
  1271.         for i = 1, #g do
  1272.             if g[i].ClassName == "Part" then
  1273.                 g[i].Anchored = false
  1274.             end
  1275.         end
  1276.     end
  1277. end
  1278.  
  1279.  
  1280. --//=================================\\
  1281. --||    WRAP THE WHOLE SCRIPT UP
  1282. --\\=================================//
  1283.  
  1284. Humanoid.Changed:connect(function(Jump)
  1285.     if Jump == "Jump" and (Disable_Jump == true) then
  1286.         Humanoid.Jump = false
  1287.     end
  1288. end)
  1289.  
  1290. local BLINKLOOP = 0
  1291. script.Parent = WEAPONGUI
  1292. ANIMATE.Parent = nil
  1293.  
  1294. while true do
  1295.     Swait()
  1296.     if Humanoid then
  1297.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1298.         IDLEANIMATION:Play()
  1299.     end
  1300.     SINE = SINE + CHANGE*2
  1301.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1302.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1303.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1304.     local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1305.     HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1306.     HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1307.     HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1308.     if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  1309.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1310.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1311.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1312.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1313.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  1314.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1315.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1316.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1318.     end
  1319.     if FULL == false then
  1320.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1321.             ANIM = "Jump"
  1322.             if ATTACK == false then
  1323.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1324.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1325.             end
  1326.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1327.             if TAUNT == false then
  1328.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1329.             end
  1330.             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)
  1331.             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)
  1332.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1333.             ANIM = "Fall"
  1334.             if ATTACK == false then
  1335.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1336.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1337.             end
  1338.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  1339.             if TAUNT == false then
  1340.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1341.             end
  1342.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1343.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1344.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1345.             ANIM = "Idle"
  1346.             if ATTACK == false then
  1347.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1348.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1349.             end
  1350.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1351.             if TAUNT == false then
  1352.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1353.             end
  1354.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1355.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1356.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1357.             ANIM = "Walk"
  1358.             if ATTACK == false then
  1359.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed)
  1360.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1361.             end
  1362.             if TAUNT == false then
  1363.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1364.             end
  1365.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1366.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1367.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1368.         end
  1369.     end
  1370.     unanchor()
  1371.     Humanoid.MaxHealth = "inf"
  1372.     Humanoid.Health = "inf"
  1373.     if Rooted == false then
  1374.         Disable_Jump = false
  1375.         Humanoid.WalkSpeed = Speed
  1376.     elseif Rooted == true then
  1377.         Disable_Jump = true
  1378.         Humanoid.WalkSpeed = 0
  1379.     end
  1380.     sick.Volume = 2
  1381.     sick.Pitch = 1
  1382.     sick.Playing = true
  1383.     sick.Parent = Torso
  1384.     Humanoid.Name = MRANDOM(100000000,999999999)
  1385.     Humanoid.PlatformStand = false
  1386.     for _, c in pairs(Cam:GetChildren()) do
  1387.         if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  1388.             c:remove()
  1389.         end
  1390.     end
  1391.     for LIST = 1, #WHITELIST do
  1392.         if WHITELIST[LIST] ~= nil then
  1393.             local CHARACTER = workspace:FindFirstChild(WHITELIST[LIST])
  1394.             if CHARACTER then
  1395.                 if Cam:FindFirstChild(WHITELIST[LIST]) == nil then
  1396.                     local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1397.                     if TORSO then
  1398.                         CreateSound(201858045, Cam, 3, 1)  
  1399.                         local GUI = Instance.new("BillboardGui",Cam)
  1400.                         GUI.Name = WHITELIST[LIST]
  1401.                         GUI.Size = UDim2.new(5,0,5,0)
  1402.                         GUI.Adornee = TORSO
  1403.                         local GUI2 = IT("ImageLabel",GUI)
  1404.                         GUI2.BackgroundTransparency = 1
  1405.                         GUI2.BorderSizePixel = 0
  1406.                         GUI2.ImageTransparency = 1
  1407.                         GUI2.Size = UDim2.new(1,0,1,0)
  1408.                         GUI2.SizeConstraint = "RelativeYY"
  1409.                         GUI.AlwaysOnTop = true
  1410.                         GUI2.Image = "http://www.roblox.com/asset/?id=142164463"
  1411.                     end
  1412.                 else
  1413.                     local GUI = Cam:FindFirstChild(WHITELIST[LIST])
  1414.                     if GUI.ImageLabel.ImageTransparency <= 1 then
  1415.                         GUI.ImageLabel.ImageTransparency = GUI.ImageLabel.ImageTransparency - 0.03
  1416.                     end
  1417.                     local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1418.                     if TORSO then
  1419.                         GUI.Adornee = TORSO
  1420.                     end
  1421.                 end
  1422.             else
  1423.                 if Cam:FindFirstChild(WHITELIST[LIST]) then
  1424.                     Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1425.                 end
  1426.             end
  1427.         else
  1428.             if Cam:FindFirstChild(WHITELIST[LIST]) then
  1429.                 Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1430.             end
  1431.             table.remove(WHITELIST,LIST)
  1432.         end
  1433.     end
  1434.     if Character:FindFirstChildOfClass("Accessory") then
  1435.         Character:FindFirstChildOfClass("Accessory"):remove()
  1436.     elseif Character:FindFirstChildOfClass("Hat") then
  1437.         Character:FindFirstChildOfClass("Hat"):remove()
  1438.     end
  1439.     if Head:FindFirstChild("face") then
  1440.         Head.face.Texture = "rbxassetid://403870689"
  1441.     end
  1442.     BLINKLOOP = BLINKLOOP + 1
  1443.     if BLINKLOOP >=650 then
  1444.         BLINKLOOP = 0
  1445.         Blink()
  1446.     end
  1447.     Humanoid.DisplayDistanceType = "None"
  1448.     Humanoid.PlatformStand = false
  1449.     refit()
  1450.     for _, c in pairs(Torso:GetChildren()) do
  1451.         if c:IsA("JointInstance") or c.ClassName == "Sound" then
  1452.         else
  1453.             c:remove()
  1454.         end
  1455.     end
  1456. end
  1457.  
  1458. --//=================================\\
  1459. --\\=================================//
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465. --//====================================================\\--
  1466. --||                     END OF SCRIPT
  1467. --\\====================================================//--
Add Comment
Please, Sign In to add comment