Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- mouse = player:GetMouse()
- function KeyM(m)
- key = key:lower(m)
- local hotkey = script.Hotkey
- local char = player.Character
- if key == hotkey.Value then
- local dance = Instance.new("Animation")
- dance.AnimationId = "http://www.roblox.com/asset/?id=922895233" --- type here the animation ID
- local animloader = char.Humanoid:LoadAnimation(dance)
- animloader:Play()
- end
- end
- mouse.KeyDown:connect(KeyM)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement