It can support up to 8 people at a time with auto joining and disconnecting. You are free to remix this if you want.
I used cloud variables and my blocks to make a set of code that allows multiple people to play at once.