Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local Mouse = player:GetMouse()
- debounce = false
- Mouse.KeyDown:connect(function(key)
- local canDamage = true
- local debounce = false
- local cool = 2
- local enabled = false
- Mouse.KeyDown:connect(function(key)
- local canDamage = true
- local debounce = false
- local cool = 2
- local key = key:lower()
- if key == "g" and enabled == false then
- game.ReplicatedStorage:WaitForChild("CloneBricks"):FireServer(player)
- enabled = true
- elseif key == "g" and enabled == true then
- game.ReplicatedStorage:WaitForChild("StopBrickCloning"):FireServer()
- enabled = false
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement