For example, in TM, when the round starts, everyone teleports to the map. I don't really know how to do that, so I thought about making a teleporter in the lobby that they have to touch to get in. But then it hit me. What if they are AFK? What if they don't even bother to touch the teleporter? Help?
You would run through the players list and set their Character's (if any) torso CFrame to the selected point like this
local point=Vector3.new(0,0,0) local CF=CFrame.new(point) for _,v in next,game.Players:GetChildren() do if v.Character~=nil then v.Character.Torso.CFrame=CF end end
and to check if they're afk you just have to do a loop to see if their position changes or they move recently which you can utilize the running event of humanoid for this.
I don't fully understand what you mean but what I would do is include a gui with a start match button which the player needs to click to start the round. This would fix the AFK as they will need to be active to click the start button.
Use a for loop because it cycles through every player until it's finished cycling through the players. It's almost instant.