Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to create a gamemode selection screen?

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

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

  1. Create your menu

  2. Read the links I have included here

  3. Make another place if you haven't made one yet

  4. Find the ID and get the teleporting service to work

  5. Bug fixing (boring but neccesary! :P)

  6. 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.