Is there a way to detect if a player moves in a zone but not outside of the zone?

I need help with this for my red light green light game.

Moves in the zone? I mean, you could try activating a coordinate device or smt. Let me look further into it.

Also, why do you need to see if the player is moving inside the zone?

1 Like

I probably should be able to understand this question but I don’t. So are you asking how to detect if a player never leaves the zone and if one does? (That probably doesn’t make sense either. :sweat_smile:)

No way there is a Blackjack! I can’t believe it. This is epic!

2 Likes

I need it to be so that if you are in the zone and you move you will become a spectator, but if you move outside of the zone it wont do anything

Here’s a guide.

1 Like

This ‘zone’, is it the area where you cannot move?

Here’s the breakdown: Every 5 secs its green light, and every 5 secs its red light. if you move during red light, you’re eliminated. The problem is when you complete it and teleport out, its still going

I need it to do it only in a certain area

Activate the zone when it’s Red light. It won’t track the player until the player moves. Deactivate when it’s green light so…
Explanation:
When you want Red light to happen → Activate zone
Green light → Deactivate zone
@maggostj30

I’m gonna try this. If it works, thank you!

@maggostj30 Did it work?

It didn’t yet. Ima keep experimenting with it, and i’ll get back to you tomorrow.

1 Like

If this is for red light green light, you could probably do some magic with the coordinate device and blocks. Maybe if the doll is looking, the x or y coordinate changed from what it was 0.25 seconds ago (x doesn’t equal x but 0.25 seconds in the past), and the x or y isn’t above (or below, depending on which way you’re going) a certain number, then broadcast on a player-local channel to change that man into spectator.

yes all you do is make the wire attached to when player enters zone, Not leaves zone.
I think if that’s what your asking…

Note: Also players need to be in the zone when the zone is active.
GIF:
Screen recording 2025-01-18 9.06.47 AM