@r[team=Waiting] execute commands on everyone including people not in team 'Waiting'
My goal with this function is to pick a random person in team 'Waiting', put them in a class, give them the items then tp them somewhere, and to repeat until all classes are filled.
what instead happens is they all only pick me and throws me around all the classes. what i dont understand is why does it pick me despite the fact that it took me out of 'waiting' team and how do i fix it?
Continue to help postexecute at @r[team=Waiting] run team join Archer @s function code:classes/archer_class tp @p[team=Archer] 5 62 -5 execute at @r[team=Waiting] run team join Swordsman @s function code:classes/swords_class tp @p[team=Swordsman] 5 62 5 execute at @r[team=Waiting] run team join Poseidon @s function code:classes/poseidon_class tp @p[team=Poseidon] -5 62 5 execute at @r[team=Waiting] run team join Shielder @s function code:classes/shield_class tp @p[team=Shielder] -5 62 -5 title @a actionbar {"color": "#4227f5", "text": "Game Started"} function code:game/timergame