I need help making a queue

So I don’t have much context but I want to make a zone where people can enter and/or leave. I need a player cap and for it to do something when at least one player is in the queue for 3 seconds.
This is what I have so far:


Here is the block code for the top trigger:

for the bottom trigger:

and for the text:

1 Like

That’s impressive. You should make a zone that grants an item to the player every second they are inside, but takes them all when you leave. If you get 3 of the item, it teleports you, then takes all of the item.

1 Like

Make a system of barriers that let you control who is in what spot.

For example if there is someone in spot 1 and 2 and the person in spot 1 enters, once it detects that person 1 left it deactivates the barrier and lets person 2 go to the spot that person 1 was in.

Yeah that could work but it seems pretty complicated and I’ll probably do it in the least memory efficient way possible.

Its not that memory extensive, its just a zone in every spot that activates/deactivates the barrier behind it.

2 Likes

I’m going to try that tomorrow, I gtg to sleep

1 Like