How can I make my script react Faster?

So my goal is to tell to the script when the player is in the zone or not, here is my script :

here is what my Zone looks like:

Capture d’écran 2022-12-27 162710

But the problem is that he takes too long to react to print()
So How can I make my script react Faster ?
Any help will be appreciated !

Turn the wait(1) into task.wait()

Use task.wait() instead of wait()
It executes a lot faster

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