daily pastebin goal
43%
SHARE
TWEET

WardEye Test 1

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