How do i make a world system like Growtopia

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? A world system like the game Growtopia.

  2. What is the issue? I’m not really at the level where I can create these kinds of scripts. I could probably with some help finding the stuff I need to create it so I can learn.

  3. What solutions have you tried so far? I have looked all over youtube, google and the devforum.

Basically you have world names, from 1 character long to 12 characters long. You cant have 2 different worlds with the same name you can only have one. I want it so you can have like this world joining “menu” where it loads the world then sends you to it if theres nobody in it and if there is someone in it you join it. Please help me!

Use datastore to store a dictionary containing all the different worlds. These worlds could also be formatted as dictionaries, storing the individual worlds’ data.
For example:

worlds = {}

worlds["World1"] = {
	parts = {}
}

worlds["World2"] = {
	parts = {}
}

Obviously there’s more to it: you have to load the player into the world and stuff. However, the theory is there.

ahhh but how in theory would i load them in, like what would i use and how would i create a new world from when someone joins a new world name

also thanks for the response :slight_smile:

You would reserve servers and save the data about that server using the server id

I show how to do this in this video

1 Like

Alright, thank you!! (sorry for the late reply)