Advertisement
Guest User

Kirden Test? 2

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