This script is making my Laptop slow!

Ok the solution is given, but I don’t think you really need to use the way of magnitudes. All you needed to do was adding a wait() and the time being depending on your computer, as said by @2112Jay

Even the code you marked in the solution is a loop, but he added task.wait() which made it stop giving infinite signals to the server.

Yeah but if you look in the above posts i have said that
“there is button that makes you 1$ per touch but the problem is that when the player is touching it will stop in just 3-4 seconds even though the player is still on the button?”

The code in the solution is the same thing I said. He is adding a task.wait() for 1 second. Even this code will wait, but only for a second. And that’s why debounce exists (I hope you know this, if not, then you should surely learn about this)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.