Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- hum = plr.Character.HumanoidRootPart
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "1" then
- Player = "LocalPlayer"
- AnimationId = "1041467040"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "2" then
- Player = "LocalPlayer"
- AnimationId = "1041467753"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "3" then
- Player = "LocalPlayer"
- AnimationId = "1041462100"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(0.7)
- end
- if key == "4" then
- Player = "LocalPlayer"
- AnimationId = "1041681504"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "5" then
- Player = "LocalPlayer"
- AnimationId = "1041470826"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "6" then
- Player = "LocalPlayer"
- AnimationId = "1041470182"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "7" then
- Player = "LocalPlayer"
- AnimationId = "1041374433"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1.4)
- end
- if key == "8" then
- Player = "LocalPlayer"
- AnimationId = "849611631"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1)
- end
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement