jokianeee

strucidshootthru

Jan 10th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local plr = game:service'Players'.LocalPlayer
  2. local mouse = plr:GetMouse()
  3.  
  4. local settings = {
  5. ["default"] = true; --// Default
  6. ["bind"] = "m"; --// Key for toggle
  7. }
  8.  
  9. mouse.KeyDown:connect(function(key)
  10. if key == settings.bind then
  11. if settings.default then
  12. settings.default = false
  13. else
  14. settings.default = true
  15. end
  16. end
  17. end)
  18.  
  19. while wait() do
  20. if settings.default then
  21. pcall(function()
  22. workspace.BuildStuff:ClearAllChildren''
  23. end)
  24. end
  25. end
Add Comment
Please, Sign In to add comment