Advertisement
feigum777

Minor Edit

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