Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Locals
- local Players = game:GetService("Players")
- local plr = Players.LocalPlayer
- local Animate = plr.Character.Animate
- local hum = plr.Character.Humanoid
- --Functions
- local function StopAnim()
- plr.Character.Animate.Disabled = false
- local animtrack = plr.Character.Humanoid:GetPlayingAnimationTracks()
- for i, track in pairs(animtrack) do
- track:Stop()
- end
- end
- --Custom Animator R15
- Animate.Disabled = true
- StopAnim()
- Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.idle1
- Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.idle2
- Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.walk
- Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.run
- Animate.jump.JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.jump
- Animate.climb.ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.climb
- Animate.fall.FallAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. _G.fall
- plr.Character.Humanoid:ChangeState(3)
- Animate.Disabled = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement