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