How to make it so that when you click the screen it increases a number and prints the number? Can someone give me a script plz?
✓ ANSWER ACCEPTED
How to make it so that when you click the screen it increases a number and prints the number?
1 answer
✓ Accepted answer
script.Parent.ClickDetector.MouseClick:connect(function(player)
script.NumberValue.Value = script.NumberValue.Value + 1
print(script.NumberValue.Value)
end)
Simple.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Don't post here asking for scripts