Advertisement
Tinybang_Studio

Untitled

Feb 15th, 2020
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. getgenv().func = {}
  2.  
  3. local functions = {
  4.     "-Functions-",
  5.     "help(void)",
  6.     "bind(string key,function callback)"
  7. }
  8.  
  9. local plr = game.Players.LocalPlayer
  10. local mouse = plr:GetMouse()
  11. local func = getgenv().func
  12. local temp = ""
  13.  
  14. func.help = function()
  15. temp = ""
  16. for _,v in pairs(functions) do
  17. temp = temp..v.."\n"
  18. end
  19. setclipboard(temp)
  20. end
  21.  
  22. func.bind = function(bind,callback)
  23. mouse.KeyDown:connect(function(key)
  24. if key == bind then
  25. callback()
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement