Advertisement
Treyzotic

zen float

Mar 10th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. mouse = player:GetMouse()
  3.  
  4. function KeyD(key)
  5. key = key:lower()
  6. --local hotkey = script.Hotkey
  7. local char = player.Character
  8. if key:byte() == 119 then
  9. local dance = Instance.new("Animation")
  10. dance.AnimationId = "http://www.roblox.com/asset/?id=378849635"
  11. local animloader = char.Humanoid:LoadAnimation(dance)
  12. animloader:Play()
  13.  
  14. end
  15.  
  16. end
  17. mouse.KeyDown:connect(KeyD)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement