Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:service'Players'.LocalPlayer
- local mouse = plr:GetMouse()
- local settings = {
- ["default"] = true; --// Default
- ["bind"] = "m"; --// Key for toggle
- }
- mouse.KeyDown:connect(function(key)
- if key == settings.bind then
- if settings.default then
- settings.default = false
- else
- settings.default = true
- end
- end
- end)
- while wait() do
- if settings.default then
- pcall(function()
- workspace.BuildStuff:ClearAllChildren''
- end)
- end
- end
Add Comment
Please, Sign In to add comment