George148

Button for someone

Mar 28th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local Active = false
  2. local PLAYERSERVICE = game.Players.CharcoalBurns()
  3. for i=1, #PLAYERSERVICE do
  4. local MOUSESERVICE = PLAYERSERVICE[i]:GetMouse()
  5. MOUSESERVICE.KeyDown:connect(function(key)
  6. if key == "q" then -- Change to the key you want.
  7. Active = true
  8. if Active == true then
  9. Text.Visible = true
  10. end
  11. end
  12. end)
  13. MOUSESERVICE.KeyUp:connect(function(key)
  14. if key == "q" then
  15.  
  16.  
  17.  
  18. end
  19. end
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment