Amount of people question

Can I make something that counts how many players are in one room?

Place a zone and counter. Wire the zone to counter. Select “Player enters zone”, and “increment counter”. Wire the zone to the counter again. Select “Player leaves zone” and “decrement counter”.

The counter’s value will now represent how many people are in the zone.

2 Likes

Zone and counter

(Edit: Blackhole already said it, didn’t see)

1 Like

It won’t let me wire it to the counter again. :frowning:

Wire the zone to a wire repeater, and wire the wire repeater to the counter.

Make sure you don’t teleport a player in or out of the zone directly though because it causes a glitch and doesn’t detect the player leaving

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