Hello. i have been creating a doors floor 2 concept game, and i made it as a challenge for myself to improve on scripting, and i have improved alot, but this room generation script, i knew it was gonna be a problem, so if anyone knows how to make it or knows a video that would be very helpful.
just make folder with completed rooms in replicatedstorage, select random room and then change position of the room as you want of course with script.
heres how you can pick random room from a folder.
local RoomFolder = game.ReplicatedStorage.Rooms:GetChildren()
local RandomRoom = RoomFolder[math.random(1, #RoomFolder)]