i want to make a pvp game.how can i make a player when dies,to teleport back to the main lobby?
One simple way to do this is having multiple "Spawn Points" in the main lobby. http://wiki.roblox.com/index.php?title=API:Class/SpawnLocation
Another way is messing around with Character Added http://wiki.roblox.com/index.php?title=API:Class/Player/CharacterAdded
Sorry if this is not what you're looking for.