SHARE
TWEET

KeyBinds.

toonrun123 Jan 17th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --KeyBinds
  2. -- Objects
  3.  
  4. local Plr = game.Players.LocalPlayer
  5. local PlrMouse = Plr:GetMouse()
  6.  
  7. -- Binds
  8.  
  9. KeyOpen = "k"
  10. KeyClose = "l"
  11.  
  12. -- Function
  13. PlrMouse.KeyDown:connect(function(Open)
  14. if Open == KeyOpen then
  15.     --Script Here!
  16. end
  17. end)
  18.  
  19. PlrMouse.KeyDown:connect(function(Close)
  20. if Close == KeyClose then
  21.     --Script Here!
  22. end
  23. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top