The code looks fine. Are you sure the regions you created are in the right spots?
You might also be interested in using ZonePlus to detect when the player enters/leaves a certain area instead:
The code looks fine. Are you sure the regions you created are in the right spots?
You might also be interested in using ZonePlus to detect when the player enters/leaves a certain area instead: