Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://www.youtube.com/watch?v=ZmVM1CUMRrc
- local value = 0
- local debounce = false
- script.Parent.Mouse1ButtonClick:Connect(function(click)
- if debounce == false then
- value = value + 1
- script.Parent.Text = "I've been clicked " .. value .. " times"
- wait(5)
- debounce = false
- end)
Add Comment
Please, Sign In to add comment