Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Press Q to use.
- plr = game.Players.LocalPlayer
- hum = plr.Character.HumanoidRootPart
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- Player = "LocalPlayer"
- AnimationId = "554970154"
- 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.2)
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment