I was wondering how to make a lobby and then make that player go into a portal to get into an obby. I just didnt know where to start. I am NOT requesting for anyone to make me a full script, just the knowledge of what I need to do. Thank you.
COMMUNITY QUESTION
How do I make a spawn and then teleport the player into an obby?
1 answer
SCRIPT
local LobbySpawner = workspace.Lobby.SpawnLocation
-- make sure to change this variable to yours
game.Players.PlayerAdded:Connect(function(Player)
Player.RespawnLocation = LobbySpawner
end)
I'll edit this again, but for now, this will solve one of the problems you have.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
What you need to do is when the Player touches the portal, change the CFrame of that Player's HumanoidRootPart to an invisible part in the obby.
but i have spawnpoints in the obby, so when i place down a spawn point in the lobby, it either teleports me to the obby, or the lobby.
spawn locations
You need to make a map for the lobby and a separate map for the obby. When you have those 2 maps. You need to make a script so when you enter that "portal" you get teleported to the obby.