-
What do you want to achieve?
I’m making a map selection screen and I want the player to be able to pick a map then teleport to one singular subplace that’s using that map or start a server with that, how would I do that? -
What is the issue?
I don’t know where to start -
What solutions have you tried so far?
the “solutions” i’ve found haven’t made me understand it.
if you help me with my code i help you
How can you end a Stepped Function if an if statement returns false? - #3 by SkiuulLPcz
Man i don’t know i’m not the best programmer hence why i’m asking for help
ok try to use roblox documentation on how to use TeleportService
I know how to use teleport service, The problem is I don’t wanna make a subplace for each map, I want it to be one place which just loads the map a player wants to play
Put all your maps in subplace’s ServerStorage, in the teleport async pass on the map name, then load the map using the map name you have passed.
But how would i make sure that the player gets into a server with their selected map?
In the teleport async function, add a parameter called “Map”, the value will be stored as a string as to what the player chose, then in the other server, clone the map with the selected map string and boom!
Yea but if you get teleported in to a already running server it wouldn’t work?
I’m sorry i’m very slow.
it would work. try it with a test place.
How would it work? say you chose “Grass” and then you get teleported into a running server that someone is playing that has the map “Sand” then it wouldn’t work?
Yea i tried it and it didn’t work. I need a way for it to only teleport a player to a server that is currently playing that map.