TheUnknownDiscord

Animations

Jun 30th, 2021 (edited)
585
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By Haker Man
  2. NLS([[
  3. --Made with some rufus14 code
  4. runservice = game:GetService("RunService")
  5. owner = game:GetService("Players").LocalPlayer
  6. owner.Character:WaitForChild("Head")
  7. mouse = owner:GetMouse()
  8. local remote = owner.Character:WaitForChild("lookremote")
  9. local part = Instance.new("Part", owner.Character.Head)
  10. local milkus = Instance.new("Part", owner.Character.Head)
  11. part.Size = Vector3.new(0.1,0.1,0.1)
  12. part.Transparency = 1
  13. part.CanCollide = false
  14. part.Name = "camera"
  15. part:BreakJoints()
  16. milkus:BreakJoints()
  17. SpecialMesh2 = Instance.new("SpecialMesh")
  18. local weld = Instance.new("Weld", part)
  19. weld.Part0 = owner.Character.Head
  20. weld.Part1 = part
  21. weld.C0 = CFrame.new(0,0,-1)
  22. local weldm = Instance.new("Weld", milkus)
  23. weldm.Part0 = owner.Character.Head
  24. weldm.Part1 = milkus
  25. SpecialMesh2.Parent = milkus
  26. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=489308589"
  27. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=489308634"
  28. SpecialMesh2.Scale = Vector3.new(1, 1, 1)
  29. milkus.Size = Vector3.new(0.55, 1.181, 0.55)
  30. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  31. cangoup = true
  32. rolling = false
  33. milkus.Transparency = 1
  34. milkus.CanCollide = false
  35. local cloaked = Instance.new("Sound", owner.Character.Head)
  36. local clickSound = Instance.new("Sound", owner.Character.Head)
  37. local music = Instance.new("Sound", owner.Character.Head)
  38. local what = Instance.new("Sound", owner.Character.Head)
  39. local ok = Instance.new("Sound", owner.Character.Head)
  40. local milkman = Instance.new("Sound", owner.Character.Head)
  41. local ARMOUR = Instance.new("Sound", owner.Character.Head)
  42. local boom = Instance.new("Sound", milkus)
  43. milkman.Volume = 2
  44. cloaked.Volume = 2
  45. ARMOUR.Volume = 1
  46. boom.Volume = 2
  47. what.Volume = 2
  48. ok.Volume = 2
  49. music.Looped = true
  50. music.Volume = 2
  51. clickSound.Volume = 2
  52. clickSound.SoundId = "rbxassetid://4724430129"
  53. cloaked.SoundId = "rbxassetid://195575792"
  54. milkman.SoundId = "rbxassetid://5753326896"
  55. boom.SoundId = "rbxassetid://165772825"
  56. ARMOUR.SoundId = "rbxassetid://6173733359"
  57. music.SoundId = "rbxassetid://6991334568"
  58. music.PlaybackSpeed = 1.10
  59. music:play()
  60. owner.Character:findFirstChildOfClass("Humanoid").MaxHealth = 250
  61. owner.Character:findFirstChildOfClass("Humanoid").Health = 250
  62. function sprinton(key)
  63.     key = key:lower()
  64.     if key:byte() == 48 then
  65.         owner.Character:findFirstChildOfClass("Humanoid").WalkSpeed = 30
  66.     end
  67. end
  68. function sprintoff(key)
  69.     key = key:lower()
  70.     if key:byte() == 48 then
  71.         owner.Character:findFirstChildOfClass("Humanoid").WalkSpeed = 16
  72.     end
  73. end
  74. mouse.KeyUp:connect(sprintoff)
  75. mouse.KeyDown:connect(sprinton)
  76. owner.Chatted:connect(function(butwhathechatted)
  77.     if owner.character.Head:findFirstChild("chat") then
  78.         owner.character.Head:findFirstChild("chat"):destroy()
  79.     end
  80. local chatopen = Instance.new("Sound", owner.Character.Head)
  81. chatopen.Volume = 1
  82. chatopen.SoundId = "rbxassetid://1293432625"
  83. chatopen:play()
  84. local chatclose = Instance.new("Sound", owner.Character.Head)
  85. chatclose.Volume = 1
  86. chatclose.SoundId = "rbxassetid://1293432192"
  87.     local billboard = Instance.new("BillboardGui", owner.character.Head)
  88.     billboard.Adornee = owner.character.Head
  89.     billboard.StudsOffset = Vector3.new(-1, 2.5, 0)
  90.     billboard.Size = UDim2.new(2,0,1,0)
  91.     billboard.Name = "chat"
  92.     local text = Instance.new("TextLabel", billboard)
  93.     text.BackgroundTransparency = 1
  94.     text.TextStrokeTransparency = 0
  95.     text.TextSize = 25
  96.     text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  97.     text.Size = billboard.Size
  98.     text.Font = "Arcade"
  99.     text.TextColor3 = Color3.fromRGB(245, 205, 48)
  100.     text.Text = butwhathechatted
  101.         for i = 1, #butwhathechatted do
  102.             text.Text = string.sub(butwhathechatted,1,i)
  103.         clickSound.PlaybackSpeed = math.random(70, 185)/100
  104.             wait(0.025)
  105.             clickSound:Play()
  106.         end
  107.     coroutine.wrap(function()
  108.         wait(3)
  109.         for i = 1,50 do
  110.             billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.01,0)
  111.             text.TextTransparency = text.TextTransparency + 0.02
  112.             text.TextStrokeTransparency = text.TextStrokeTransparency + 0.02
  113.             runservice.Stepped:wait()
  114.         end
  115.         billboard:destroy()
  116.         chatclose:play()
  117.     end)()
  118. end)
  119. owner.Chatted:Connect(function(musicchange)
  120. if musicchange == "-music1" then
  121.     music:Stop()
  122.     music.SoundId = "rbxassetid://6991334568"
  123.     music.PlaybackSpeed = 1.10
  124.     music:Play()
  125. elseif musicchange == "-music2" then
  126.     music:Stop()
  127.     music.SoundId = "rbxassetid://371641587"
  128.     music.PlaybackSpeed = 1
  129.     music:Play()
  130. elseif musicchange == "-music3" then
  131.     music:Stop()
  132.     music.SoundId = "rbxassetid://1620295100"
  133.     music.PlaybackSpeed = 1
  134.     music:Play()
  135. elseif musicchange == "-music4" then
  136.     music:Stop()
  137.     music.SoundId = "rbxassetid://322408858"
  138.     music.PlaybackSpeed = 1
  139.     music:Play()
  140. elseif musicchange == "-run" then
  141.     music:Stop()
  142.     music.SoundId = "rbxassetid://6823504484"
  143.     music.PlaybackSpeed = 1
  144.     music:Play()
  145. elseif musicchange == "-mute" then
  146.     music:Stop()
  147. elseif musicchange == "what" then
  148.     music.Volume = 0.25
  149.     what:Stop()
  150.     what.SoundId = "rbxassetid://159686768"
  151.     what.PlaybackSpeed = 1
  152.     what.Volume = 2
  153.     what:Play()
  154.     wait(5.75)
  155.     music.Volume = 2
  156. elseif musicchange == "ok" then
  157.     music.Volume = 0.25
  158.     ok:Stop()
  159.     ok.SoundId = "rbxassetid://4972436214"
  160.     ok.PlaybackSpeed = 1
  161.     ok.Volume = 4
  162.     ok:Play()
  163.     wait(3)
  164.     music.Volume = 2
  165. elseif musicchange == "-music5" then
  166.     music:Stop()
  167.     music.SoundId = "rbxassetid://376948478"
  168.     music.PlaybackSpeed = 1
  169.     music:Play()
  170. elseif musicchange == "-music6" then
  171.     music:Stop()
  172.     music.SoundId = "rbxassetid://622300754"
  173.     music.PlaybackSpeed = 1
  174.     music:Play()
  175. elseif musicchange == "-music7" then
  176.     music:Stop()
  177.     music.SoundId = "rbxassetid://5135791769"
  178.     music.PlaybackSpeed = 1
  179.     music:Play()
  180. elseif musicchange == "-music8" then
  181.     music:Stop()
  182.     music.SoundId = "rbxassetid://6714977292"
  183.     music.PlaybackSpeed = 1
  184.     music:Play()
  185. elseif musicchange == "-music9" then
  186.     music:Stop()
  187.     music.SoundId = "rbxassetid://5615205496"
  188.     music.PlaybackSpeed = 1
  189.     music:Play()
  190.     end
  191. end)
  192. function kaboom(key)
  193.     key = key:lower()
  194.     if key == "e" then
  195. music.Volume = 0.15
  196. milkman:Play()
  197. Wait(2.5)
  198.     weldm:Destroy()
  199. Wait(0.5)
  200.     milkus.Position = owner.Character.Head.Position
  201.     local bv = Instance.new("BodyVelocity")
  202.     bv.Velocity = owner.Character.Head.CFrame.lookVector * 25
  203.     bv.Parent = milkus
  204.     milkus.CanCollide = true
  205.     milkus.Transparency = 0
  206. Wait(1.25)
  207. bv:Destroy()
  208. Wait(1)
  209. boom:Play()
  210. g = Instance.new("Explosion")
  211. g.Parent = workspace
  212. g.Position = milkus.Position
  213. g.BlastRadius = 15
  214. g.BlastPressure = 1
  215. Wait(1.5)
  216.     milkus.Transparency = 1
  217. music.Volume = 2
  218.     end
  219. end
  220. function POWERARMOUR(key)
  221.     key = key:lower()
  222.     if key == "q" then
  223. music.Volume = 0.15
  224. ARMOUR:Play()
  225. ARMOUR.Ended:Wait()
  226. music.Volume = 2
  227.     end
  228. end
  229.  
  230. function cloak(key)
  231.     key = key:lower()
  232.     if key == "z" then
  233. cloaked:Play()
  234. walksound:Stop()
  235. music.Volume = 0
  236. jumpsound.Volume = 0
  237. fallbigsound.Volume = 0
  238. for i,v in pairs(Char:GetDescendants()) do
  239. if v:IsA("BasePart") or v:IsA("Decal") then
  240. v.Transparency = 1
  241.     end
  242. end
  243. end
  244. end
  245. function cloaknt(key)
  246.     key = key:lower()
  247.     if key == "z" then
  248. wait(5)
  249. cloaked:Play()
  250. walksound:Play()
  251. for i,v in pairs(Char:GetDescendants()) do
  252. if v:IsA("BasePart") or v:IsA("Decal") then
  253. v.Transparency = 0
  254. music.Volume = 2
  255. jumpsound.Volume = 0.3
  256. fallbigsound.Volume = 1
  257.     end
  258. end
  259. end
  260. end
  261. mouse.KeyDown:connect(POWERARMOUR)
  262. mouse.KeyDown:connect(kaboom)
  263. mouse.KeyDown:connect(cloak)
  264. mouse.KeyUp:connect(cloaknt)
  265. while game:GetService("RunService").RenderStepped:wait() do
  266.     remote:FireServer(mouse.Hit.p, mouse.Origin.p, workspace.CurrentCamera.CFrame)
  267.     if (workspace.CurrentCamera.CFrame.p - part.Position).magnitude <= 1.7 then
  268.         game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,Vector3.new(mouse.Hit.p.x,game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.y,mouse.Hit.p.z))
  269.         workspace.CurrentCamera.FieldOfView = 100
  270.         for i,v in pairs(owner.Character:GetChildren()) do
  271.             if v.ClassName == "Part" or v.ClassName == "MeshPart" and v.Name ~= "Head" then
  272.                 v.LocalTransparencyModifier = 0
  273.             end
  274.             if v.ClassName == "Accessory" then
  275.                 v.Handle.Transparency = 1
  276.             end
  277.         end
  278.         if owner.Character.Head:findFirstChildOfClass("Decal") then
  279.             owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 1
  280.         end
  281.         owner.Character.Head.Transparency = 1
  282.         workspace.CurrentCamera.CameraSubject = part
  283.     else
  284.         for i,v in pairs(owner.Character:GetChildren()) do
  285.             if v.ClassName == "Accessory" then
  286.                 v.Handle.Transparency = 0
  287.             end
  288.         end
  289.         workspace.CurrentCamera.FieldOfView = 70
  290.         owner.Character.Head.Transparency = 0
  291.         if owner.Character.Head:findFirstChildOfClass("Decal") then
  292.             owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 0
  293.         end
  294.         workspace.CurrentCamera.CameraSubject = owner.Character
  295.     end
  296. end
  297. ]], owner.Character)
  298. step = game:GetService("RunService").Stepped
  299. local leftarm = Instance.new("Weld", owner.Character.Torso)
  300. leftarm.Part0 = owner.Character.Torso
  301. leftarm.Part1 = owner.Character["Left Arm"]
  302. leftarm.C0 = CFrame.new(-1.5,-0.5,0)
  303. leftarm.C1 = CFrame.new(0,0.7,0)
  304. leftarm.Name = "LeftArmWeld"
  305. local rightarm = Instance.new("Weld", owner.Character.Torso)
  306. rightarm.Part0 = owner.Character.Torso
  307. rightarm.Part1 = owner.Character["Right Arm"]
  308. rightarm.C0 = CFrame.new(1.5,0.5,0)
  309. rightarm.C1 = CFrame.new(0,0.7,0)
  310. rightarm.Name = "RightArmWeld"
  311. local rightleg = Instance.new("Weld", owner.Character.Torso)
  312. rightleg.Part0 = owner.Character.Torso
  313. rightleg.Part1 = owner.Character["Right Leg"]
  314. rightleg.C0 = CFrame.new(0.5,-2,0)
  315. rightleg.C1 = CFrame.new(0,1,0)
  316. rightleg.Name = "RightLegWeld"
  317. local leftleg = Instance.new("Weld", owner.Character.Torso)
  318. leftleg.Part0 = owner.Character.Torso
  319. leftleg.Part1 = owner.Character["Left Leg"]
  320. leftleg.C0 = CFrame.new(-0.5,-2,0)
  321. leftleg.C1 = CFrame.new(0,1,0)
  322. leftleg.Name = "LeftLegWeld"
  323. local head = Instance.new("Weld", owner.Character.Torso)
  324. head.Part0 = owner.Character.Torso
  325. head.Part1 = owner.Character.Head
  326. head.C0 = CFrame.new(0,1.5,0)
  327. head.C1 = CFrame.new(0,-0.1,0)
  328. head.Name = "HeadWeld"
  329. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  330. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  331. humanoidrootpart.Part1 = owner.Character.Torso
  332. humanoidrootpart.Name = "HumanoidRootPartWeld"
  333. sine = 0
  334. change = 1
  335. anim = "stand"
  336. rootpart = owner.Character.HumanoidRootPart
  337. walksound = Instance.new("Sound", owner.Character.Head)
  338. walksound.SoundId = "rbxassetid://1244506786"
  339. walksound.Looped = true
  340. walksound:Play()
  341. walksound.Volume = 0
  342. walksound.MaxDistance = 20
  343. jumpsound = Instance.new("Sound", owner.Character.Head)
  344. jumpsound.SoundId = "rbxassetid://158149887"
  345. jumpsound.Volume = 0.3
  346. jumpsound.MaxDistance = 20
  347. fallsound = Instance.new("Sound", owner.Character.Head)
  348. fallsound.SoundId = "rbxassetid://866649671"
  349. fallsound.Looped = true
  350. fallsound:Play()
  351. fallsound.Volume = 0
  352. fallsound.MaxDistance = 20
  353. fallbigsound = Instance.new("Sound", owner.Character.Head)
  354. fallbigsound.SoundId = "rbxassetid://535681058"
  355. fallbigsound.Volume = 1
  356. fallbigsound.MaxDistance = 30
  357. humanoid = owner.Character:findFirstChildOfClass("Humanoid")
  358. cananimate = true
  359. alreadyjumped = false
  360. falling = false
  361. function checkrun()
  362.     while step:wait() do
  363.         if owner.Character.HumanoidRootPart.Velocity.x <= -17 or owner.Character.HumanoidRootPart.Velocity.x >= 17 or owner.Character.HumanoidRootPart.Velocity.z <= -17 or owner.Character.HumanoidRootPart.Velocity.z >= 17 and humanoid.FloorMaterial ~= Enum.Material.Air then
  364.             anim = "run"
  365.             walksound.PlaybackSpeed = 1.9
  366.             walksound.Volume = 0.8
  367.         elseif rootpart.Velocity.x >= -9 or rootpart.Velocity.x <= 9 or rootpart.Velocity.z >= -9 or rootpart.Velocity.z <= 9 and humanoid.FloorMaterial ~= Enum.Material.Air then
  368.             if rootpart.Velocity.z ~= 0 and rootpart.Velocity.x ~= 0 and humanoid.FloorMaterial ~= Enum.Material.Air then
  369.                 anim = "walk"
  370.                 walksound.PlaybackSpeed = 1.2
  371.                 walksound.Volume = 0.4
  372.             else
  373.                 anim = "stand"
  374.                 walksound.Volume = 0
  375.             end
  376.         end
  377.         if humanoid.FloorMaterial == Enum.Material.Air then
  378.             cananimate = false
  379.             walksound.Volume = 0
  380.             if rootpart.Velocity.y > 0 then
  381.                 if not alreadyjumped then
  382.                     alreadyjumped = true
  383.                     jumpsound.TimePosition = 0.05
  384.                     jumpsound:Play()
  385.                 end
  386.                 local function a()
  387.                     for i = 0,0.6 , 0.07 do
  388.                         if not cananimate then
  389.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.Angles(0.3,0,0),i)
  390.                             head.C0 = head.C0:lerp(CFrame.Angles(0.1,0,0) * CFrame.new(0,1.4,0),i)
  391.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(-0.1,0,0),i)
  392.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-0.1,0,0),i)
  393.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0),i)
  394.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0),i)
  395.                             step:wait()
  396.                         end
  397.                     end
  398.                 end
  399.                 spawn(a)
  400.             elseif rootpart.Velocity.y < 0 then
  401.                 falling = true
  402.                 local function a()
  403.                     for i = 0,1 , 0.05 do
  404.                         if not cananimate then
  405.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.Angles(-0.3,0,0),i)
  406.                             head.C0 = head.C0:lerp(CFrame.fromEulerAnglesXYZ(-0.3,0,0) * CFrame.new(0,1.4,0),i)
  407.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,-1),i)
  408.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(0,0,1),i)
  409.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-0.5,-0.5),i)
  410.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-0.5,-0.5),i)
  411.                             step:wait()
  412.                         end
  413.                     end
  414.                 end
  415.                 local function b()
  416.                     fallsound.Volume = 0
  417.                     while step:wait() and falling do
  418.                         fallsound.Volume = fallsound.Volume + 0.025
  419.                     end
  420.                     falling = false
  421.                     fallsound.Volume = 0
  422.                 end
  423.                 spawn(a)
  424.                 spawn(b)
  425.             end
  426.         elseif humanoid.FloorMaterial ~= Enum.Material.Air then
  427.             cananimate = true
  428.         end
  429.     end
  430. end
  431. spawn(checkrun)
  432. local remote = Instance.new("RemoteEvent", owner.Character)
  433. remote.Name = "lookremote"
  434. local headd = Instance.new("Weld", owner.Character.Torso)
  435. headd.Part0 = owner.Character.Torso
  436. headd.Part1 = owner.Character.Head
  437. headd.C0 = CFrame.new(0,1,0)
  438. headd.Name = "HeaddWeld"
  439. function look(plr, where, origin, cameracf)
  440.     if plr == owner then
  441.         local lookvector = owner.Character.Torso.CFrame:toObjectSpace(cameracf).lookVector.unit
  442.         headd.C0 = CFrame.new(0,1,0) * CFrame.Angles(lookvector.y,0,0)
  443.         headd.C0 = headd.C0 * CFrame.Angles(0,-lookvector.x,0)
  444.         headd.C0 = headd.C0 * CFrame.new(0,0.5,0)
  445.     end
  446. end
  447. remote.OnServerEvent:connect(look)
  448. while step:wait() do
  449.     sine = sine + change
  450.     if anim == "stand" and cananimate then
  451.         alreadyjumped = false
  452.         if falling then
  453.             falling = false
  454.             fallbigsound:Play()
  455.         end
  456.         fallsound.Volume = 0
  457.         humanoidrootpart.C0 = CFrame.new(0,math.sin(sine/65)/20,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  458.         leftarm.C0 = CFrame.new(-1.5,math.sin(sine/65)/12 + 0.5,0) * CFrame.Angles(math.rad(85),math.rad(0),math.rad(75))
  459.         rightarm.C0 = CFrame.new(1.5,math.sin(sine/65)/12 + 0.5,0) * CFrame.Angles(math.rad(85),math.rad(5),math.rad(-75))
  460.         leftleg.C0 = CFrame.new(-0.5,-math.sin(sine/65)/20 - 1,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  461.         rightleg.C0 = CFrame.new(0.5,-math.sin(sine/65)/20 - 1,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  462.         head.C0 = CFrame.new(0,1.4,0) * CFrame.Angles(math.rad(5 * math.sin(sine/65))-0.1,math.rad(0),math.rad(0))
  463.     elseif anim == "run" and cananimate then
  464.         alreadyjumped = false
  465.         if falling then
  466.             falling = false
  467.             fallbigsound:Play()
  468.         end
  469.         fallsound.Volume = 0.35
  470.         humanoidrootpart.C0 = CFrame.new(0,1*math.cos(sine/2.5)/10,0) * CFrame.Angles(math.rad(4*math.cos(sine/4))+math.rad(-20),math.rad(0),math.rad(1*math.cos(sine/5)))
  471.         leftarm.C0 = CFrame.new(-1.5,0.5,-math.cos(sine/5)/4) * CFrame.Angles(0.2 + math.rad(80 * math.cos(sine/5)),math.rad(0),math.rad(12*math.cos(sine/5)))
  472.         rightarm.C0 = CFrame.new(1.5,0.5,math.cos(sine/5)/4) * CFrame.Angles(0.2 + -math.rad(80 * math.cos(sine/5)),math.rad(0),math.rad(12*math.cos(sine/5)))
  473.         leftleg.C0 = CFrame.new(-0.5,3*math.sin(sine/2.5)/10-1,math.cos(sine/5)/4) * CFrame.Angles(-math.rad(80 * math.cos(sine/5)),math.rad(0),math.rad(0))
  474.         rightleg.C0 = CFrame.new(0.5,3*math.sin(sine/2.5)/10-1,-math.cos(sine/5)/4) * CFrame.Angles(math.rad(80 * math.cos(sine/5)),math.rad(0),math.rad(0))
  475.         head.C0 = CFrame.new(0,1.4,0) * CFrame.Angles(-math.rad(4*math.cos(sine/4))+math.rad(15),math.rad(0),math.rad(0))
  476.     elseif anim == "walk" and cananimate then
  477.         alreadyjumped = false
  478.         if falling then
  479.             falling = false
  480.             fallbigsound:Play()
  481.         end
  482.         fallsound.Volume = 0
  483.         humanoidrootpart.C0 = CFrame.new(0,math.sin(sine/4)/15,0) * CFrame.Angles(math.rad(2*math.cos(sine/8))+math.rad(-5),math.rad(0),math.rad(2*math.cos(sine/8)))
  484.         leftarm.C0 = CFrame.new(-1.5,0.5,0) * CFrame.Angles(-math.rad(55 * math.cos(sine/8)),math.rad(0),math.rad(5*math.cos(sine/8)))
  485.         rightarm.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(55 * math.cos(sine/8)),math.rad(0),math.rad(5*math.cos(sine/8)))
  486.         leftleg.C0 = CFrame.new(-0.5,-1.5*math.sin(sine/8)/8 -1,0) * CFrame.Angles(math.rad(55 * math.cos(sine/8)),math.rad(0),math.rad(0))
  487.         rightleg.C0 = CFrame.new(0.5,1.5*math.sin(sine/8)/8 -1,0) * CFrame.Angles(-math.rad(55 * math.cos(sine/8)),math.rad(0),math.rad(0))
  488.         head.C0 = CFrame.new(0,1.4,0) * CFrame.Angles(-math.rad(math.cos(sine/8))+math.rad(2.5),math.rad(0),math.rad(0))
  489.     end
  490. end
RAW Paste Data