Is there a way to create a bot that creates a place, generate terrain, and publish it?

Hello, I am wondering if there’s a way to create a bot that creates a new place, generates terrain, and then publishes that same game? The reason why I want to do this is that I want to make a survival game, and I don’t want the players to be just playing on the same map over and over again. So I thought of using the built in terrain generator to generate “worlds” to play on, as some sort of save file system. I thought of using a bot to create and generate these places, but I do not know if it is possible and how to do that. If anybody can help me out with this, or if this isn’t possible, give me alternate solutions, I would appreciate it. Thanks!

1 Like

Well, I understand your thinking, but I can’t seem to be able to guarantee the account will exist once the bot publishes the game. :cry:

Is it because roblox’s anti bot system (or whatever they call it idk) will maybe detect this as those cringe botted slide down 100000000000000000000000000000000000 miles or something like that?

1 Like

That’s what I think. It is likely that the Roblox system will automatically detect and review your account.

Oh that sucks, is there any other way I can do something similar to this without roblox reviewing my account?

1 Like

Little confused about this one. You are creating a survival game and you want a unique map for each playthrough? Why don’t you just generate a new map when the server starts up instead of using a bot to do some janky method of publishing places.

Because I want progress for each map to be saved

I think it’s impossible with a bot. We recommend that you post the place yourself.

What exactly is “Progress” tools and inventory? Levels and XP?

Yeah, and stuff the players built, such as camp fires and shelter.

On my account, or making each individual place for each player>?

1 Like

If you want to generate random maps, I would recommend doing that using perlin noise. As for saving stuff like that, use DataStoreService:

I don’t know that, but the place or the account that posted the game could be subject to sanctions.

Even if I do use Perlin Noise, how would I make it so it will be different per person? Would I save the map that it creates to an external api, then load it when they join or something else?

The best course of action is to generate a unique map every time a new game is created. Then you can save the map and anything the player built using datastores and serialization. Finally once the player rejoins simply rebuild their buildings and structures.

Here is a great tutorial to get you started.

3 Likes

Make the map be different per person? I would recommend reading into TeleportService so you can have a hub that teleports players to their own individual servers if you want that. Also, read @kylepo99 's post as well. Good luck!

Okay I’ll try that, and also is there a way to auto generate with the built in terrain generator? And then just save the seed or something and have it reload when they join, and it will save position of objects?

Hey @astrozzyz!

The best way I can think of is something like Minecraft mixed with the game rust, have the game reset every month or so then use a seed system like Minecraft to generate the terrain. Not at all do I know how to code this but I know for a fact it will not need a secondary Roblox account that will break the terms of service! I hope this helps.

Also use a game hub like the game dust does; Dust

1 Like

There are many ways to generate random terrain. You can find many great articles that explain it better then I ever could. The seed method should work fine for this use case assuming you won’t allow editing the terrain. Finally using the article I linked above, you will be able to save buildings and other player made structures.

Alright I’ll try to do something, thank you. Ill update you when I get something working.