I'm trying to teleport players from the lobby to the main game. I don't know how to get them to touch a part and once they touch it adds them to a table. I want there to be 8 players in the table for the teleport to commence.
I have no idea how to approach this can someone help me?
Pseudocode
local players = {} when someone/something touches the part check that the touching part belongs to a player character if part is from a player character then if there's less than 8 elements in the players table insert them into the table
Useful links