Advertisement
Dark_Agent

Fe Source Custom Packet Animator R15

Nov 25th, 2024
579
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.09 KB | Gaming | 0 1
  1. --Locals
  2. local Players = game:GetService("Players")
  3. local plr = Players.LocalPlayer
  4. local Animate = plr.Character.Animate
  5. local hum = plr.Character.Humanoid
  6.  
  7. --Functions
  8. local function StopAnim()
  9.     plr.Character.Animate.Disabled = false
  10.     local animtrack = plr.Character.Humanoid:GetPlayingAnimationTracks()
  11.     for i, track in pairs(animtrack) do
  12.         track:Stop()
  13.     end
  14. end
  15.  
  16. --Custom Animator R15
  17. Animate.Disabled = true
  18. StopAnim()
  19.  
  20. Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.idle1
  21. Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.idle2
  22. Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.walk
  23. Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.run
  24. Animate.jump.JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.jump
  25. Animate.climb.ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.climb
  26. Animate.fall.FallAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.fall
  27.  
  28. plr.Character.Humanoid:ChangeState(3)
  29. Animate.Disabled = false
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement