Advertisement
Guest User

Script

a guest
Jan 22nd, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. --clockwork
  2.  
  3. bin = script.Parent
  4.  
  5. function onButton1Up(mouse)
  6. local player = game.Players.LocalPlayer
  7. if player == nil then return end
  8. player.Character.Humanoid.WalkSpeed=25
  9. wait(5)
  10. player.Character.Humanoid.WalkSpeed=16
  11. wait(2)
  12.  
  13. --function onButton1Down(mouse)
  14. --local player = game.Players.LocalPlayer
  15. --if player == nil then return end
  16. --player.Character.Humanoid.WalkSpeed=100
  17.  
  18. --mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  19.  
  20. end
  21.  
  22. function onSelected(mouse)
  23. mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  24. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  25. end
  26.  
  27. bin.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement