So basically I am trying to make a script that generates rooms randomly kind of like SCP:CB.
It would generated many rooms such as hallways, intersection etc. And then there would be special rooms like scp-914 (Machine that can make items better or worse) that would only generated once well the rest of the map generated. So basically it would generated a bunch of hallways and only one special room (scp-914) and a couple more special room (like a spawn room) and etc. And after it generated all the rooms it would stop generating.
The thing is I don’t know where to start and how to do it.
I’ve tried looking at other forums and YouTube but found nothing.
You can first make the Models (the rooms) different from others, like randomly and then put them in ServerStorage, Preferably in a folder thats in the ServerStorage, and then you can make a script that randomly selects an model from the Folder in ServerStorage You can use the math.random so it gets the random model and clones it and then parents it into the workspace, I don’t know more but this should be the basics.
try making different models which the base part is the door, and the next door which is where the next room will be setted be a part (not a door) soo with math.random() you choose a model and make the door’s cframe be the doorposition part’s cframe, for it to be the basepart of the entire model just weld every part of the model in the door, you can try this