ok well saying you need a queue with no context makes it kinda hard for people to help LOL
Just make a list and when someone enters queue, add them to the list. When the game starts, teleport everyone on that list or whatever you need. When they leave the queue, remove them. When they /leave, remove them. So on.