Hi Im working on a new game and i need to make a gamemode selection panel like in murder Mystery 2 https://www.roblox.com/games/142823291/Murder-Mystery-2 once you click on one of these buttons it would check for any open servers and send you to one, if their are not any it will create one and send you to it, how would i go about doing this Thanks
How to create a gamemode selection screen?
1 answer
You did NO research by the looks of this because this is not hard to find. Also, ask more specific questions, you can't ask us to tell you how to make a whole teleportation menu.
Some useful wiki links about teleportservice to get you started http://wiki.roblox.com/index.php?title=API:Class/TeleportService http://wiki.roblox.com/index.php?title=API:Class/TeleportService/Teleport
These are for teleporting the player to another place inside your game, notice: It will automaticly create one if it can't find one, that's nothing you should do. Same with checking for servers, that's also nothing you have to do!
To test for a button click in case you don't know, note: Needs to be a local script inside the button
button = script.Parent
button.MouseButton1Click:connect(function()
-- code
end)
These are also very good links
http://wiki.roblox.com/index.php?title=Creating_a_Custom_Loading_Screen http://wiki.roblox.com/index.php?title=Teleporting_Between_Places
So
Create your menu
Read the links I have included here
Make another place if you haven't made one yet
Find the ID and get the teleporting service to work
Bug fixing (boring but neccesary! :P)
optional: Improve your gui, you should do this last because the scripting is more important for this
If you still have any questions, please comment them, and please mark this as best answer.
This discussion is preserved as it was. New answers, comments, and votes are closed.
