Advertisement
wanTH092

Mouthy

Jul 18th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 51.34 KB | None | 0 0
  1. ------------------------------------------------------------------------
  2. --     ☌           _     _                                            --
  3. --                (_)   (_)                                     ⎳   --
  4. --                 _ _____  __ _  __ _  ___ _ __ ___                  --
  5. --                | |_  / |/ _` |/ _` |/ _ \ '_ ` _ \                 --
  6. --      ⏦        | |/ /| | (_| | (_| |  __/ | | | | |                --
  7. --                |_/___|_|\__, |\__,_|\___|_| |_| |_|                --
  8. --                          __/ |                                     --
  9. --                          |___/                         ℶℷ          --
  10. --                ⌬                                                  --
  11. --            ██████  ▄████▄   ██▀███   ██▓ ██▓███  ▄▄▄█████▓         --
  12. --           ██    ▒ ▒██▀ ▀█  ▓██ ▒ ██▒▓██▒▓██░  ██▒▓  ██▒ ▓▒         --
  13. --            ▓██▄   ▒▓█    ▄ ▓██ ░▄█ ▒▒██▒▓██░ ██▓▒▒ ▓██░ ▒░         --
  14. --            ▒   ██▒▒▓▓▄ ▄██▒▒██▀▀█▄  ░██░▒██▄█▓▒ ▒░ ▓██▓ ░          --
  15. --           ██████▒▒▒ ▓███▀ ░░██▓ ▒██▒░██░▒██▒ ░  ░  ▒██▒ ░          --
  16. --            ▒▓▒ ▒ ░░ ░▒ ▒  ░░ ▒▓ ░▒▓░░▓  ▒▓▒░ ░  ░  ▒ ░░            --
  17. --   ♾       ░ ░▒  ░ ░  ░  ▒     ░▒ ░ ▒░ ▒ ░░▒ ░         ░           --
  18. --          ░  ░  ░  ░          ░░   ░  ▒ ░░░         ░               --
  19. --                ░  ░ ░         ░      ░                    ⎲      --
  20. --                   ░                                                --
  21. ------------------------------------------------------------------------
  22.  
  23. Player = game:GetService("Players").LocalPlayer
  24. PlayerGui = Player.PlayerGui
  25. Cam = workspace.CurrentCamera
  26. Backpack = Player.Backpack
  27. Character = Player.Character
  28. Humanoid = Character.Humanoid
  29. Mouse = Player:GetMouse()
  30. RootPart = Character["HumanoidRootPart"]
  31. Torso = Character["Torso"]
  32. Head = Character["Head"]
  33. RightArm = Character["Right Arm"]
  34. LeftArm = Character["Left Arm"]
  35. RightLeg = Character["Right Leg"]
  36. LeftLeg = Character["Left Leg"]
  37. RootJoint = RootPart["RootJoint"]
  38. Neck = Torso["Neck"]
  39. RightShoulder = Torso["Right Shoulder"]
  40. LeftShoulder = Torso["Left Shoulder"]
  41. RightHip = Torso["Right Hip"]
  42. LeftHip = Torso["Left Hip"]
  43. Player:ClearCharacterAppearance()
  44.  
  45. IT = Instance.new
  46. CF = CFrame.new
  47. VT = Vector3.new
  48. RAD = math.rad
  49. C3 = Color3.new
  50. UD2 = UDim2.new
  51. BRICKC = BrickColor.new
  52. ANGLES = CFrame.Angles
  53. EULER = CFrame.fromEulerAnglesXYZ
  54. COS = math.cos
  55. ACOS = math.acos
  56. SIN = math.sin
  57. ASIN = math.asin
  58. ABS = math.abs
  59. MRANDOM = math.random
  60. FLOOR = math.floor
  61.  
  62. --//=================================\\
  63. --||          USEFUL VALUES
  64. --\\=================================//
  65.  
  66. Animation_Speed = 3
  67. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  68. local Speed = 20
  69. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  70. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  71. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  72. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  73. local DAMAGEMULTIPLIER = 1
  74. local ANIM = "Idle"
  75. local ATTACK = false
  76. local EQUIPPED = false
  77. local HOLD = false
  78. local COMBO = 1
  79. local Rooted = false
  80. local SINE = 0
  81. local KEYHOLD = false
  82. local CHANGE = 2 / Animation_Speed
  83. local WALKINGANIM = false
  84. local VALUE1 = false
  85. local VALUE2 = false
  86. local mouse = Player:GetMouse()
  87. local ROBLOXIDLEANIMATION = IT("Animation")
  88. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  89. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  90. local ATANIM = IT("Animation")
  91. ATANIM.Name = "Attack Animation"
  92. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  93. --ROBLOXIDLEANIMATION.Parent = Humanoid
  94. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  95. WEAPONGUI.Name = "Weapon GUI"
  96. local Weapon = IT("Model")
  97. Weapon.Name = "Adds"
  98. local Effects = IT("Folder", Weapon)
  99. Effects.Name = "Effects"
  100. local ANIMATOR = Humanoid.Animator
  101. local ANIMATE = Character.Animate
  102. local UNANCHOR = true
  103. local PLAYANIMS = true
  104. script.Parent = WEAPONGUI
  105. Character.Archivable = true
  106. local CLONE = Character:Clone()
  107. CLONE.Parent = nil
  108. Character.Archivable = false
  109. local sick = Instance.new("Sound",Torso)
  110. sick.SoundId = "rbxassetid://144491553"
  111. sick.Looped = true
  112. sick.Pitch = 1
  113. sick.Volume = 3
  114. sick:Play()
  115. local SIT = IT("BoolValue",Torso)
  116. SIT.Name = "IsThePharaohSitting?"
  117.  
  118. --//=================================\\
  119. --\\=================================//
  120.  
  121. Biggie = false
  122. Player_Size = 1 --Size of the player.
  123. local WALK = 0
  124.  
  125. --//=================================\\
  126. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  127. --\\=================================//
  128.  
  129. ArtificialHB = Instance.new("BindableEvent", script)
  130. ArtificialHB.Name = "ArtificialHB"
  131.  
  132. script:WaitForChild("ArtificialHB")
  133.  
  134. frame = Frame_Speed
  135. tf = 0
  136. allowframeloss = false
  137. tossremainder = false
  138. lastframe = tick()
  139. script.ArtificialHB:Fire()
  140.  
  141. game:GetService("RunService").Heartbeat:connect(function(s, p)
  142.     tf = tf + s
  143.     if tf >= frame then
  144.         if allowframeloss then
  145.             script.ArtificialHB:Fire()
  146.             lastframe = tick()
  147.         else
  148.             for i = 1, math.floor(tf / frame) do
  149.                 script.ArtificialHB:Fire()
  150.             end
  151.         lastframe = tick()
  152.         end
  153.         if tossremainder then
  154.             tf = 0
  155.         else
  156.             tf = tf - frame * math.floor(tf / frame)
  157.         end
  158.     end
  159. end)
  160.  
  161. --//=================================\\
  162. --\\=================================//
  163.  
  164. --//=================================\\
  165. --||          SOME FUNCTIONS
  166. --\\=================================//
  167.  
  168. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  169.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  170. end
  171.  
  172. function PositiveAngle(NUMBER)
  173.     if NUMBER >= 0 then
  174.         NUMBER = 0
  175.     end
  176.     return NUMBER
  177. end
  178.  
  179. function NegativeAngle(NUMBER)
  180.     if NUMBER <= 0 then
  181.         NUMBER = 0
  182.     end
  183.     return NUMBER
  184. end
  185.  
  186. function Swait(NUMBER)
  187.     if NUMBER == 0 or NUMBER == nil then
  188.         ArtificialHB.Event:wait()
  189.     else
  190.         for i = 1, NUMBER do
  191.             ArtificialHB.Event:wait()
  192.         end
  193.     end
  194. end
  195.  
  196. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  197.     local NEWMESH = IT(MESH)
  198.     if MESH == "SpecialMesh" then
  199.         NEWMESH.MeshType = MESHTYPE
  200.         if MESHID ~= "nil" and MESHID ~= "" then
  201.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  202.         end
  203.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  204.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  205.         end
  206.     end
  207.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  208.     NEWMESH.Scale = SCALE
  209.     NEWMESH.Parent = PARENT
  210.     return NEWMESH
  211. end
  212.  
  213. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  214.     local NEWPART = IT("Part")
  215.     NEWPART.formFactor = FORMFACTOR
  216.     NEWPART.Reflectance = REFLECTANCE
  217.     NEWPART.Transparency = TRANSPARENCY
  218.     NEWPART.CanCollide = false
  219.     NEWPART.Locked = true
  220.     NEWPART.Anchored = true
  221.     if ANCHOR == false then
  222.         NEWPART.Anchored = false
  223.     end
  224.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  225.     NEWPART.Name = NAME
  226.     NEWPART.Size = SIZE
  227.     NEWPART.Position = Torso.Position
  228.     NEWPART.Material = MATERIAL
  229.     NEWPART:BreakJoints()
  230.     NEWPART.Parent = PARENT
  231.     return NEWPART
  232. end
  233.  
  234.     local function weldBetween(a, b)
  235.         local weldd = Instance.new("ManualWeld")
  236.         weldd.Part0 = a
  237.         weldd.Part1 = b
  238.         weldd.C0 = CFrame.new()
  239.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  240.         weldd.Parent = a
  241.         return weldd
  242.     end
  243.  
  244.  
  245. function QuaternionFromCFrame(cf)
  246.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  247.     local trace = m00 + m11 + m22
  248.     if trace > 0 then
  249.         local s = math.sqrt(1 + trace)
  250.         local recip = 0.5 / s
  251.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  252.     else
  253.         local i = 0
  254.         if m11 > m00 then
  255.             i = 1
  256.         end
  257.         if m22 > (i == 0 and m00 or m11) then
  258.             i = 2
  259.         end
  260.         if i == 0 then
  261.             local s = math.sqrt(m00 - m11 - m22 + 1)
  262.             local recip = 0.5 / s
  263.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  264.         elseif i == 1 then
  265.             local s = math.sqrt(m11 - m22 - m00 + 1)
  266.             local recip = 0.5 / s
  267.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  268.         elseif i == 2 then
  269.             local s = math.sqrt(m22 - m00 - m11 + 1)
  270.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  271.         end
  272.     end
  273. end
  274.  
  275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  276.     local xs, ys, zs = x + x, y + y, z + z
  277.     local wx, wy, wz = w * xs, w * ys, w * zs
  278.     local xx = x * xs
  279.     local xy = x * ys
  280.     local xz = x * zs
  281.     local yy = y * ys
  282.     local yz = y * zs
  283.     local zz = z * zs
  284.     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))
  285. end
  286.  
  287. function QuaternionSlerp(a, b, t)
  288.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  289.     local startInterp, finishInterp;
  290.     if cosTheta >= 0.0001 then
  291.         if (1 - cosTheta) > 0.0001 then
  292.             local theta = ACOS(cosTheta)
  293.             local invSinTheta = 1 / SIN(theta)
  294.             startInterp = SIN((1 - t) * theta) * invSinTheta
  295.             finishInterp = SIN(t * theta) * invSinTheta
  296.         else
  297.             startInterp = 1 - t
  298.             finishInterp = t
  299.         end
  300.     else
  301.         if (1 + cosTheta) > 0.0001 then
  302.             local theta = ACOS(-cosTheta)
  303.             local invSinTheta = 1 / SIN(theta)
  304.             startInterp = SIN((t - 1) * theta) * invSinTheta
  305.             finishInterp = SIN(t * theta) * invSinTheta
  306.         else
  307.             startInterp = t - 1
  308.             finishInterp = t
  309.         end
  310.     end
  311.     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
  312. end
  313.  
  314. function Clerp(a, b, t)
  315.     local qa = {QuaternionFromCFrame(a)}
  316.     local qb = {QuaternionFromCFrame(b)}
  317.     local ax, ay, az = a.x, a.y, a.z
  318.     local bx, by, bz = b.x, b.y, b.z
  319.     local _t = 1 - t
  320.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  321. end
  322.  
  323. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  324.     local frame = IT("Frame")
  325.     frame.BackgroundTransparency = TRANSPARENCY
  326.     frame.BorderSizePixel = BORDERSIZEPIXEL
  327.     frame.Position = POSITION
  328.     frame.Size = SIZE
  329.     frame.BackgroundColor3 = COLOR
  330.     frame.BorderColor3 = BORDERCOLOR
  331.     frame.Name = NAME
  332.     frame.Parent = PARENT
  333.     return frame
  334. end
  335.  
  336. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  337.     local label = IT("TextLabel")
  338.     label.BackgroundTransparency = 1
  339.     label.Size = UD2(1, 0, 1, 0)
  340.     label.Position = UD2(0, 0, 0, 0)
  341.     label.TextColor3 = TEXTCOLOR
  342.     label.TextStrokeTransparency = STROKETRANSPARENCY
  343.     label.TextTransparency = TRANSPARENCY
  344.     label.FontSize = TEXTFONTSIZE
  345.     label.Font = TEXTFONT
  346.     label.BorderSizePixel = BORDERSIZEPIXEL
  347.     label.TextScaled = false
  348.     label.Text = TEXT
  349.     label.Name = NAME
  350.     label.Parent = PARENT
  351.     return label
  352. end
  353.  
  354. function NoOutlines(PART)
  355.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  356. end
  357.  
  358. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  359.     local NEWWELD = IT(TYPE)
  360.     NEWWELD.Part0 = PART0
  361.     NEWWELD.Part1 = PART1
  362.     NEWWELD.C0 = C0
  363.     NEWWELD.C1 = C1
  364.     NEWWELD.Parent = PARENT
  365.     return NEWWELD
  366. end
  367.  
  368. local S = IT("Sound")
  369. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  370.     local NEWSOUND = nil
  371.     coroutine.resume(coroutine.create(function()
  372.         NEWSOUND = S:Clone()
  373.         NEWSOUND.Parent = PARENT
  374.         NEWSOUND.Volume = VOLUME
  375.         NEWSOUND.Pitch = PITCH
  376.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  377.         NEWSOUND:play()
  378.         if DOESLOOP == true then
  379.             NEWSOUND.Looped = true
  380.         else
  381.             repeat wait(1) until NEWSOUND.Playing == false
  382.             NEWSOUND:remove()
  383.         end
  384.     end))
  385.     return NEWSOUND
  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" then
  424.             MSH = IT("BlockMesh",EFFECT)
  425.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  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.             EFFECT.Transparency = 1
  472.             if PLAYSSOUND == false then
  473.                 EFFECT:remove()
  474.             else
  475.                 repeat Swait() until SOUND.Playing == false
  476.                 EFFECT:remove()
  477.             end
  478.         else
  479.             if PLAYSSOUND == false then
  480.                 EFFECT:remove()
  481.             else
  482.                 repeat Swait() until SOUND.Playing == false
  483.                 EFFECT:remove()
  484.             end
  485.         end
  486.     end))
  487. end
  488.  
  489. function MakeForm(PART,TYPE)
  490.     if TYPE == "Cyl" then
  491.         local MSH = IT("CylinderMesh",PART)
  492.     elseif TYPE == "Ball" then
  493.         local MSH = IT("SpecialMesh",PART)
  494.         MSH.MeshType = "Sphere"
  495.     elseif TYPE == "Wedge" then
  496.         local MSH = IT("SpecialMesh",PART)
  497.         MSH.MeshType = "Wedge"
  498.     end
  499. end
  500.  
  501. local DECAL = IT("Decal")
  502. function MakeRing()
  503.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  504.     local MSH = IT("BlockMesh", RING)
  505.     local TOP = DECAL:Clone()
  506.     local BOTTOM = DECAL:Clone()
  507.     TOP.Parent = RING
  508.     BOTTOM.Parent = RING
  509.     TOP.Face = "Top"
  510.     BOTTOM.Face = "Bottom"
  511.     TOP.Texture = "http://www.roblox.com/asset/?id=359972668"
  512.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=359972668"
  513.     local function REMOVE()
  514.         coroutine.resume(coroutine.create(function()
  515.             local SIZE = MSH.Scale.X
  516.             for i = 1, 35 do
  517.                 Swait()
  518.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  519.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  520.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  521.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  522.             end
  523.             RING:remove()
  524.         end))
  525.     end
  526.     return RING, MSH, REMOVE
  527. end
  528.  
  529.  
  530. function swait(num)
  531.   if num == 0 or num == nil then
  532.     game:service("RunService").RenderStepped:wait(0)
  533.   else
  534.     for i = 0, num do
  535.       game:service("RunService").RenderStepped:wait(0)
  536.     end
  537.   end
  538. end
  539.  
  540. local huge = Vector3.new(math.huge,math.huge,math.huge)
  541. function fade(obj, dest, grow)
  542.     spawn(function()
  543.         local oldcf = obj.CFrame
  544.         for i = 0, 10 do
  545.             if grow then
  546.                 obj.Size = obj.Size +Vector3.new(1,1,1)
  547.                 obj.CFrame = oldcf
  548.             end
  549.             obj.Transparency = obj.Transparency +0.1
  550.             swait()
  551.         end
  552.         if dest then
  553.         obj:Destroy()
  554.         end
  555.     end)
  556. end
  557.  
  558. Debris = game:GetService("Debris")
  559.  
  560. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  561.     local DIRECTION = CF(StartPos,EndPos).lookVector
  562.     return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  563. end
  564.  
  565. local FIRECOLOR = C3(1,85/255,0)
  566.  
  567. local Particle = IT("ParticleEmitter",nil)
  568. Particle.Enabled = false
  569. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.6),NumberSequenceKeypoint.new(1,1)})
  570. Particle.LightEmission = 0.5
  571. Particle.Rate = 500
  572. Particle.Rotation = NumberRange.new(-180, 180)
  573. Particle.RotSpeed = NumberRange.new(-180, 180)
  574. Particle.Texture = "http://www.roblox.com/asset/?id=1460745664"
  575. Particle.Color = ColorSequence.new(FIRECOLOR)
  576.  
  577. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  578. function ParticleEmitter(Table)
  579.     local PRTCL = Particle:Clone()
  580.     local Speed = Table.Speed or 5
  581.     local Drag = Table.Drag or 0
  582.     local Size1 = Table.Size1 or 1
  583.     local Size2 = Table.Size2 or 5
  584.     local Lifetime1 = Table.Lifetime1 or 1
  585.     local Lifetime2 = Table.Lifetime2 or 1.5
  586.     local Parent = Table.Parent or Torso
  587.     local Emit = Table.Emit or 100
  588.     local Offset = Table.Offset or 360
  589.     local Accel = Table.Accel or VT(0,0,0)
  590.     local Enabled = Table.Enabled or false
  591.     PRTCL.Parent = Parent
  592.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  593.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  594.     PRTCL.Speed = NumberRange.new(Speed)
  595.     PRTCL.VelocitySpread = Offset
  596.     PRTCL.Drag = Drag
  597.     PRTCL.Acceleration = Accel
  598.     if Enabled == false then
  599.         PRTCL:Emit(Emit)
  600.         Debris:AddItem(PRTCL,Lifetime2)
  601.     else
  602.         PRTCL.Enabled = true
  603.     end
  604.     return PRTCL
  605. end
  606.  
  607. function turnto(position)
  608.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  609. end
  610.  
  611. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  612.     for _, c in pairs(PARENT:GetDescendants()) do
  613.         if c.ClassName == "Model" then
  614.             if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  615.                 local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  616.                 local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  617.                 if (TORSO.Position - FROM).Magnitude < DIST then
  618.                     table.insert(TABLE,c)
  619.                 end
  620.             end
  621.         end
  622.     end
  623. end
  624.  
  625. --//=================================\\
  626. --||         WEAPON CREATION
  627. --\\=================================//
  628.  
  629. Humanoid.DisplayDistanceType = "None"
  630. local naeeym2 = IT("BillboardGui",Character)
  631. naeeym2.AlwaysOnTop = true
  632. naeeym2.Size = UDim2.new(3,45,2,25)
  633. naeeym2.StudsOffset = Vector3.new(0,1,0)
  634. naeeym2.MaxDistance = 75
  635. naeeym2.Adornee = Character.Head
  636. naeeym2.Name = "Name"
  637. local tecks2 = IT("TextLabel",naeeym2)
  638. tecks2.BackgroundTransparency = 1
  639. tecks2.TextScaled = true
  640. tecks2.BorderSizePixel = 0
  641. tecks2.Text = "Ki-shin Asura"
  642. tecks2.Font = "Bodoni"
  643. tecks2.TextSize = 30
  644. tecks2.TextStrokeTransparency = 0
  645. tecks2.TextColor3 = C3(0,0,0)
  646. tecks2.TextStrokeColor3 = C3(1,1,1)
  647. tecks2.Size = UDim2.new(1,0,0.5,0)
  648. tecks2.Parent = naeeym2
  649. local top = Instance.new("Shirt")
  650. top.ShirtTemplate = "rbxassetid://1892426216"
  651. top.Parent = Character
  652. top.Name = "Cloth"
  653. local bottom = Instance.new("Pants")
  654. bottom.PantsTemplate = "rbxassetid://1088767946"
  655. bottom.Parent = Character
  656. bottom.Name = "Cloth"
  657.  
  658. Character:WaitForChild("Head").BrickColor=BrickColor.new("Mid gray")
  659.  
  660.  
  661. BODY = {}
  662.  
  663. local Hair = Instance.new("Part")
  664. Hair.Parent = Character
  665. Hair.Name = "Bacon"
  666. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  667. Hair.CFrame = Character.Head.CFrame
  668. Hair:BreakJoints()
  669. Hair.CanCollide = false
  670. Hair.BrickColor = BrickColor.new("New Yeller")
  671. Hair.TopSurface = "Smooth"
  672. Hair.BottomSurface = "Smooth"
  673. Weld = Instance.new("Weld")
  674.  
  675. Weld.Name = "Weld"
  676. Weld.Part0 = Character.Head
  677. Weld.Part1 = Hair
  678. Weld.Parent = Character.Head
  679. Weld.C0 = CFrame.new(0, 0.35, -0.0)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  680. Mesh = Instance.new("SpecialMesh")
  681. Mesh.Parent = Hair
  682. Mesh.MeshId = "http://www.roblox.com/asset/?id=167549828"
  683. Mesh.TextureId = "http://www.roblox.com/asset/?id=295014681"
  684. Mesh.Scale = Vector3.new(1, 1.05, 1)
  685.  
  686. --EYES
  687. local EYE1, PUPIL1
  688. local EYE2, PUPIL2
  689. local EYE3, PUPIL3
  690.  
  691.     EYE = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "White", "Eyeball", VT(0.15, 0.3, 0.15), false)
  692.     MakeForm(EYE, "Ball")
  693.     CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.28, 0.13, -0.55), CF(0, 0, 0))
  694.     PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  695.     PUPIL.Color = C3(128, 0, 0)
  696.     MakeForm(PUPIL, "Ball")
  697.     CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.28, 0.13, -0.62), CF(0, 0, 0))
  698.  
  699.  
  700.     EYE = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "White", "Eyeball", VT(0.15, 0.3, 0.15), false)
  701.     MakeForm(EYE, "Ball")
  702.     CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(-0.28, 0.13, -0.55), CF(0, 0, 0))
  703.     PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  704.     PUPIL.Color = C3(128, 0, 0)
  705.     MakeForm(PUPIL, "Ball")
  706.     CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(-0.28, 0.13, -0.62), CF(0, 0, 0))
  707.  
  708.  
  709.     EYE = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "White", "Eyeball", VT(0.15, 0.3, 0.15), false)
  710.     MakeForm(EYE, "Ball")
  711.     CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0, 0.23, -0.65), CF(0, 0, 0))
  712.     PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  713.     PUPIL.Color = C3(128, 0, 0)
  714.     MakeForm(PUPIL, "Ball")
  715.     CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0, 0.23, -0.72), CF(0, 0, 0))
  716.  
  717.     for _, c in pairs(Character:GetDescendants()) do
  718.         if c:IsA("BasePart") then
  719.             table.insert(BODY, {
  720.                 c,
  721.                 c.Parent,
  722.                 c.Material,
  723.                 c.Color
  724.             })
  725.         elseif c:IsA("JointInstance") then
  726.             table.insert(BODY, {
  727.                 c,
  728.                 c.Parent,
  729.                 nil,
  730.                 nil
  731.             })
  732.         end
  733.     end
  734. for _, c in pairs(Weapon:GetChildren()) do
  735.     if c.ClassName == "Part" then
  736.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  737.     end
  738. end
  739. for _, c in pairs(Character:GetDescendants()) do
  740.     if c:IsA("BasePart") then
  741.         table.insert(BODY, {
  742.             c,
  743.             c.Parent,
  744.             c.Material,
  745.             c.Color
  746.         })
  747.     elseif c:IsA("JointInstance") then
  748.         table.insert(BODY, {
  749.             c,
  750.             c.Parent,
  751.             nil,
  752.             nil
  753.         })
  754.     end
  755. end
  756. for e = 1, #BODY do
  757.     if BODY[e] ~= nil then
  758.         do
  759.             local STUFF = BODY[e]
  760.             local PART = STUFF[1]
  761.             local PARENT = STUFF[2]
  762.             local MATERIAL = STUFF[3]
  763.             local COLOR = STUFF[4]
  764.             PART.AncestryChanged:Connect(function()
  765.                 if PART.ClassName == "Part" then
  766.                     PART.Material = MATERIAL
  767.                     PART.Color = COLOR
  768.                 end
  769.                 PART.Parent = PARENT
  770.             end)
  771.         end
  772.     end
  773. end
  774. function refit()
  775.     Weapon.Parent = Character
  776.     Character.Parent = workspace
  777.     for e = 1, #BODY do
  778.         if BODY[e] ~= nil then
  779.             local STUFF = BODY[e]
  780.             local PART = STUFF[1]
  781.             local PARENT = STUFF[2]
  782.             local MATERIAL = STUFF[3]
  783.             local COLOR = STUFF[4]
  784.             if PART.Parent ~= PARENT then
  785.                 Humanoid:remove()
  786.                 if PART.ClassName == "Part" then
  787.                     PART.Material = MATERIAL
  788.                     PART.Color = COLOR
  789.                 end
  790.                 PART.Parent = PARENT
  791.                 Humanoid = IT("Humanoid", Character)
  792.             end
  793.         end
  794.     end
  795. end
  796.  
  797.  
  798. local SKILLTEXTCOLOR = C3(1,1,1)
  799. local SKILLFONT = "Bodoni"
  800. local SKILLTEXTSIZE = 8
  801.  
  802. Weapon.Parent = Character
  803.  
  804. Humanoid.Died:connect(function()
  805.     refit()
  806. end)
  807.  
  808. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  809. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  810.  
  811. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Mouth Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  812. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Shield", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  813.  
  814. --//=================================\\
  815. --||            DAMAGING
  816. --\\=================================//
  817.  
  818. function ApplyDamage(Humanoid,Damage,TorsoPart)
  819.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  820.     defence.Name = ("HitBy"..Player.Name)
  821.     game:GetService("Debris"):AddItem(defence, 0.001)
  822.     Damage = Damage * DAMAGEMULTIPLIER
  823.     if Humanoid.Health ~= 0 then
  824.         local CritChance = MRANDOM(1,100)
  825.         if Damage > Humanoid.Health then
  826.             Damage = math.ceil(Humanoid.Health)
  827.             if Damage == 0 then
  828.                 Damage = 0.1
  829.             end
  830.         end
  831.         Humanoid.Health = Humanoid.Health - Damage
  832.     end
  833. end
  834.  
  835. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  836.     local CHILDREN = workspace:GetDescendants()
  837.     for index, CHILD in pairs(CHILDREN) do
  838.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  839.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  840.             if HUM then
  841.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  842.                 if TORSO then
  843.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  844.                         if INSTAKILL == true then
  845.                             CHILD:BreakJoints()
  846.                         else
  847.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  848.                             ApplyDamage(HUM,DMG,TORSO)
  849.                         end
  850.                         if FLING > 0 then
  851.                             for _, c in pairs(CHILD:GetChildren()) do
  852.                                 if c:IsA("BasePart") then
  853.                                     local bv = Instance.new("BodyVelocity")
  854.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  855.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  856.                                     bv.Parent = c
  857.                                     Debris:AddItem(bv,0.05)
  858.                                 end
  859.                             end
  860.                         end
  861.                     end
  862.                 end
  863.             end
  864.         end
  865.     end
  866. end
  867.  
  868. local multiplier = 1
  869.  
  870. function hurt(hit, dmg)
  871.     if hit.Parent then
  872.         if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
  873.         local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  874.         if hum then
  875.             if hum.Parent.Name ~= Player.Name then
  876.                 if dmg == "Kill" or hum.Health > 100000 then
  877.                     hit.Parent:BreakJoints()
  878.                     return true
  879.                 else
  880.                     if math.random(0, 100) == 50 then
  881.                         hum.Health = hum.Health - dmg*multiplier*2.5
  882.                     else
  883.                         hum.Health = hum.Health -dmg*multiplier
  884.                     end
  885.                     return true
  886.                 end
  887.             end
  888.         end
  889.     end
  890. end
  891.  
  892. function killnearest(position,range,maxstrength)
  893.     for i,v in ipairs(workspace:GetChildren()) do
  894.     local body = v:GetChildren()
  895.         for part = 1, #body do
  896.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  897.                 if(body[part].Position - position).Magnitude < range then
  898.                     if v.ClassName == "Model" then
  899.                         v:BreakJoints()
  900.                     end
  901.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  902.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  903.                 end
  904.             end
  905.         end
  906.         if v.ClassName == "Part" then
  907.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  908.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  909.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  910.             end
  911.         end
  912.     end
  913. end
  914.  
  915. --//=================================\\
  916. --||    ATTACK FUNCTIONS AND STUFF
  917. --\\=================================//
  918.  
  919. local p = game.Players.LocalPlayer
  920. local char = p.Character
  921. local hum = char.Humanoid
  922.  
  923. if Player_Size ~= 1 then
  924. RootPart.Size = RootPart.Size * Player_Size
  925. Torso.Size = Torso.Size * Player_Size
  926. Head.Size = Head.Size * Player_Size
  927. RightArm.Size = RightArm.Size * Player_Size
  928. LeftArm.Size = LeftArm.Size * Player_Size
  929. RightLeg.Size = RightLeg.Size * Player_Size
  930. LeftLeg.Size = LeftLeg.Size * Player_Size
  931. RootJoint.Parent = RootPart
  932. Neck.Parent = Torso
  933. RightShoulder.Parent = Torso
  934. LeftShoulder.Parent = Torso
  935. RightHip.Parent = Torso
  936. LeftHip.Parent = Torso
  937.    
  938. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  939.     RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  940.     Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  941.     Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  942.     RightShoulder.C0 = CF(0 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  943.     LeftShoulder.C0 = CF(0 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  944.     if Disable_Moving_Arms == false then
  945.         RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  946.         LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  947.     else
  948.         RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  949.         LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  950.     end
  951.     RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  952.     LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  953.     RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  954.     LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  955. end
  956.  
  957. function BigForm()
  958.    Biggie = true
  959.    Player_Size = 13
  960.    LeftArm.Size = LeftArm.Size * 10
  961.    RightArm.Size = RightArm.Size * 10
  962.    LeftLeg.Size = LeftLeg.Size * 10
  963.    RightLeg.Size = RightLeg.Size * 10
  964.    Torso.Size = Torso.Size * 10
  965.    Head.Size = Head.Size * 10
  966.    RootPart.Size = RootPart.Size * 10
  967. end
  968.  
  969. function VajraBeam()
  970.     ATTACK = true
  971.     Rooted = true
  972.     VALUE2 = true
  973.     local GYRO = IT("BodyGyro", RootPart)
  974.     GYRO.D = 20
  975.     GYRO.P = 4000
  976.     GYRO.MaxTorque = VT(0, 40000, 0)
  977.     local POS = RootPart.Position + VT(0, 25, 0)
  978.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  979.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  980.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  981.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  982.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  983.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  984.     coroutine.resume(coroutine.create(function()
  985.         local E = 0
  986.         repeat
  987.             E = E + 5
  988.             GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  989.             Swait()
  990.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  991.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  992.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  993.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  994.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  995.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  996.         until ATTACK == false
  997.         GYRO:remove()
  998.     end))
  999.     for i = 1, 50 do
  1000.         Swait()
  1001.     end
  1002.     for i = 1, 25 do
  1003.         Swait()
  1004.         WACKYEFFECT({
  1005.             Time = 15,
  1006.             EffectType = "Sphere",
  1007.             Size = VT(4, 4, 4),
  1008.             Size2 = VT(0, 0, 0),
  1009.             Transparency = 1,
  1010.             Transparency2 = 0,
  1011.             CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1012.             MoveToPos = Head.Position,
  1013.             RotationX = 0,
  1014.             RotationY = 0,
  1015.             RotationZ = 0,
  1016.             Material = "Neon",
  1017.             Color = C3(1, 0, 0),
  1018.             SoundID = nil,
  1019.             SoundPitch = nil,
  1020.             SoundVolume = nil
  1021.         })
  1022.     end
  1023.     local LOOP = 0
  1024.     local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beamo", VT(0,0,0))
  1025.     MakeForm(BEAMO, "Ball")
  1026.     local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  1027.     MakeForm(BEAM, "Cyl")
  1028.     repeat
  1029.         local DISTANCE = (Head.Position - Mouse.Hit.p).Magnitude
  1030.         if DISTANCE < 2000 then
  1031.             BEAMO.Size = VT(1.2 + 1 * COS(SINE / 4),  1.2 + 1 * COS(SINE / 4), 1.2 + 1 * COS(SINE / 4))
  1032.             BEAMO.CFrame = CF(Head.Position)
  1033.             BEAM.Size = VT(1.2 + 1 * COS(SINE / 4), DISTANCE, 1.2 + 1 * COS(SINE / 4))
  1034.             BEAM.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1035.             killnearest(Mouse.Hit.p,15,100)
  1036.             WACKYEFFECT({
  1037.                 Time = 35,
  1038.                 EffectType = "Sphere",
  1039.                 Size = VT(1 + 2 * COS(SINE / 4), 1 + 2 * COS(SINE / 4), 1 + 2 * COS(SINE / 4)) * 2,
  1040.                 Size2 = VT(5, 75, 5),
  1041.                 Transparency = 0,
  1042.                 Transparency2 = 1,
  1043.                 CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1044.                 MoveToPos = nil,
  1045.                 RotationX = 0,
  1046.                 RotationY = 0,
  1047.                 RotationZ = 0,
  1048.                 Material = "Neon",
  1049.                 Color = C3(1, 0, 0),
  1050.                 SoundID = nil,
  1051.                 SoundPitch = MRANDOM(9, 12) / 10,
  1052.                 SoundVolume = 10
  1053.             })
  1054.             Swait()
  1055.             LOOP = LOOP + 1
  1056.         end
  1057.     until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  1058.     coroutine.resume(coroutine.create(function()
  1059.         for i = 1, 15 do
  1060.             Swait()
  1061.             BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  1062.             BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  1063.             BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  1064.             BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  1065. end
  1066.         BEAM:remove()
  1067.         BEAMO:remove()
  1068.     end))
  1069.     ATTACK = false
  1070.     Rooted = false
  1071.     VALUE2 = false
  1072. end
  1073.  
  1074. --//=================================\\
  1075. --||      ASSIGN THINGS TO KEYS
  1076. --\\=================================//
  1077.  
  1078. function MouseDown(Mouse)
  1079.     if ATTACK == false then
  1080.     end
  1081. end
  1082.  
  1083. function MouseUp(Mouse)
  1084. HOLD = false
  1085. end
  1086.  
  1087. function KeyDown(Key)
  1088.     KEYHOLD = true
  1089.         if Key == "e" and ATTACK == false then
  1090.             VajraBeam()
  1091.         end
  1092. end
  1093.  
  1094. --Shield
  1095.  
  1096. local origcolor = BrickColor.new("Really red")
  1097. root = char.HumanoidRootPart
  1098.  
  1099. mouse.KeyDown:connect(function(key)
  1100.     if key == "f" and not attacking then
  1101.         attacking = true
  1102.         Rooted = true
  1103.         shielding = true
  1104.         local p = Instance.new("Part")
  1105.         p.Anchored = true
  1106.         p.BrickColor = BrickColor.new("Really black")
  1107.         p.Material = Enum.Material.Neon
  1108.         shield = p
  1109.         local bc = BrickColor.Random()
  1110.         p.BrickColor = bc
  1111.         p.Size = Vector3.new(30,30,0)
  1112.         p.BrickColor = BrickColor.new("Really red")
  1113.         p.Material = Enum.Material.Neon
  1114.         local m = Instance.new("SpecialMesh", p)
  1115.         m.MeshType = "Sphere"
  1116.         p.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,0,-4)
  1117.         local num2 = -0.8
  1118.         for i = 0, 10 do
  1119.             if shielding then
  1120.                 local RING, MESH, DELET = MakeRing()
  1121.                 RING.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,0,-4)
  1122.                 local p = Instance.new("Part")
  1123.                 p.Size = Vector3.new(2,2,2)
  1124.                 p.CanCollide = false
  1125.                 p.Anchored = true
  1126.                 p.Transparency = 1
  1127.                 p.BrickColor = BrickColor.new("Really black")
  1128.                 p.Material = Enum.Material.Neon
  1129.                 p.Parent = shield
  1130.                 num2 = num2 + 1
  1131.                 local num = num2
  1132.                 local neg = false
  1133.                 spawn(function()
  1134.                     repeat wait()
  1135.                         num = num + 0.1
  1136.                         local sin = math.sin(num)*15
  1137.                         local cos = math.cos(num)*15
  1138.                         if shield then
  1139.                         end
  1140.                     until not shielding
  1141.                 end)
  1142.  
  1143.             else
  1144.  
  1145.                 break
  1146.             end
  1147.         end
  1148.         p.Transparency = 0.7
  1149.         p.Parent = workspace
  1150.         p.Touched:connect(function(hit)
  1151.             if hurt(hit, math.random(50, 100)) then
  1152.                 fade(hit)
  1153.             elseif hit.Anchored == false and hit.Parent.Name ~= Player.Name and hit.Parent.ClassName ~= "Torso" then
  1154.                 fade(hit, true)
  1155.             end
  1156.         end)
  1157.     end
  1158. end)
  1159. mouse.KeyUp:connect(function(key)
  1160.     if key == "f" and attacking then
  1161.         if shield then
  1162.             fade(shield, true)
  1163.             attacking = false
  1164.             Rooted = false
  1165.             shielding = false
  1166.         end
  1167.     end
  1168. end)
  1169.  
  1170. --
  1171.  
  1172. function KeyDown2(Key)
  1173.     KEYHOLD = true
  1174. if Biggie == false then
  1175.         if Key == "g" and ATTACK == false then
  1176.             BigForm()
  1177.         end
  1178. else
  1179.         if Key == "g" and ATTACK == false then
  1180.             Biggie = false
  1181.             Player_Size = 1
  1182.         end
  1183.     end
  1184. end
  1185.  
  1186. function KeyUp(Key)
  1187.     KEYHOLD = false
  1188. end
  1189.  
  1190. local keysDown = {}
  1191.  
  1192.     mouse.KeyDown:connect(function(key)
  1193.         keysDown[key] = true
  1194.     end)
  1195.     mouse.KeyUp:connect(function(key)
  1196.         keysDown[key] = nil
  1197.     end)
  1198.     Mouse.Button1Down:connect(function(NEWKEY)
  1199.         MouseDown(NEWKEY)
  1200.     end)
  1201.     Mouse.Button1Up:connect(function(NEWKEY)
  1202.         MouseUp(NEWKEY)
  1203.     end)
  1204.     Mouse.KeyDown:connect(function(NEWKEY)
  1205.         KeyDown(NEWKEY)
  1206.     end)
  1207.     Mouse.KeyDown:connect(function(NEWKEY)
  1208.         KeyDown2(NEWKEY)
  1209.     end)
  1210.     Mouse.KeyUp:connect(function(NEWKEY)
  1211.         KeyUp(NEWKEY)
  1212.     end)
  1213.  
  1214. --//=================================\\
  1215. --\\=================================//
  1216.  
  1217.  
  1218. function unanchor()
  1219.     if UNANCHOR == true then
  1220.         RootPart.Anchored = false
  1221.     end
  1222.     g = Character:GetChildren()
  1223.     for i = 1, #g do
  1224.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1225.             g[i].Anchored = false
  1226.         end
  1227.     end
  1228.     g = Weapon:GetChildren()
  1229.     for i = 1, #g do
  1230.         if g[i].ClassName == "Part" then
  1231.             g[i].Anchored = false
  1232.         end
  1233.     end
  1234. end
  1235.  
  1236.  
  1237. --//=================================\\
  1238. --||    WRAP THE WHOLE SCRIPT UP
  1239. --\\=================================//
  1240.  
  1241. Humanoid.Changed:connect(function(Jump)
  1242.     if Jump == "Jump" and (Disable_Jump == true) then
  1243.         Humanoid.Jump = false
  1244.     end
  1245. end)
  1246.  
  1247. while true do
  1248.     Swait()
  1249.     ANIMATE.Parent = nil
  1250.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1251.     IDLEANIMATION:Play()
  1252.     SINE = SINE + CHANGE
  1253.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1254.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1255.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1256.     HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1257.     local WALKSPEEDVALUE = 0
  1258.     if Speed < 35 then
  1259.         WALKSPEEDVALUE = 6
  1260.     else
  1261.         WALKSPEEDVALUE = 3
  1262.     end
  1263.     if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1264.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1265.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1266.         if Speed < 35 then
  1267.             RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1268.             LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1269.         else
  1270.             RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1271.             LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1272.         end
  1273.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1274.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1275.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1276.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1277.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1278.     end
  1279.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1280.         ANIM = "Jump"
  1281.         if ATTACK == false then
  1282.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1284.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1285.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1286.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1287.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1288.         end
  1289.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1290.         ANIM = "Fall"
  1291.         if ATTACK == false then
  1292.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1293.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1294.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1295.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1296.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1297.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1298.         end
  1299.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1300.         ANIM = "Idle"
  1301.         if ATTACK == false then
  1302.             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)
  1303.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1304.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1305.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1306.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1307.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1308.         end
  1309.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1310.         ANIM = "Walk"
  1311.         WALK = WALK + 1 / Animation_Speed
  1312.         if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1313.             WALK = 0
  1314.             if WALKINGANIM == true then
  1315.                 WALKINGANIM = false
  1316.             elseif WALKINGANIM == false then
  1317.                 WALKINGANIM = true
  1318.             end
  1319.         end
  1320.         --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1321.         --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1322.         if ATTACK == false then
  1323.             if Speed < 35 then
  1324.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1325.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1326.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1327.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1328.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1329.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1330.             else
  1331.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1332.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1333.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1334.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1335.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1336.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1337.             end
  1338.         end
  1339.     end
  1340.  
  1341.     unanchor()
  1342.     Humanoid.MaxHealth = "inf"
  1343.     Humanoid.Health = "inf"
  1344.     if Rooted == false then
  1345.         Disable_Jump = false
  1346.         Humanoid.WalkSpeed = Speed
  1347.     elseif Rooted == true then
  1348.         Disable_Jump = true
  1349.         Humanoid.WalkSpeed = 0
  1350.     end
  1351.     refit()
  1352.     for _, c in pairs(Character:GetChildren()) do
  1353.         if c.ClassName == "Part" and c.Name ~= "Eye" then
  1354.             c.Material = "Neon"
  1355.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1356.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1357.             end
  1358.             c.Color = C3(0,0,0)
  1359.             if c == Head then
  1360.                 if c:FindFirstChild("face") then
  1361.                     c.face.Texture = "http://www.roblox.com/asset/?id=2079991830"
  1362.                     c.BrickColor = BRICKC"Mid gray"
  1363.                 end
  1364.             end
  1365.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1366.             c:remove()
  1367.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1368.             c:remove()
  1369.         end
  1370.     end
  1371.     sick.SoundId = "rbxassetid://144491553"
  1372.     sick.Looped = true
  1373.     sick.Pitch = 1
  1374.     sick.Volume = 3
  1375.     sick.Parent = Torso
  1376.     sick:Resume()
  1377.     Humanoid.Name = "Asura"
  1378. end
  1379.  
  1380. --//=================================\\
  1381. --\\=================================//
  1382.  
  1383. if Humanoid.Health < "inf" then
  1384. refit()
  1385. Humanoid.MaxHealth = "inf"
  1386. Humanoid.Health = Humanoid.Health + "inf"
  1387.  
  1388. end
  1389.  
  1390. --//====================================================\\--
  1391. --||                     END OF SCRIPT
  1392. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement