hi, im trying to make a map change script for my game but all the tutorials i see have a intermission in them. one way i think you can do this is by having all the maps except the starting map in Lighting and having the other map already in Workspace. then after 300 seconds (5 minutes) the map goes into Lighting and the next map moves into Workspace and the process continues. i also need to make sure the script repeats itself over and over. also when the map changes i need to have it kill all the players
here is what i thought could be quite close:
wait(300)
Map1.Parent = "Lighting"
Map2.Parent = "Workspace"
Players"Humanoid".Health = 0
i know thats probably way off, thanks in advance from poopypigeon245

3 comments
which lines do i need to change?
You need to change the map number every time you copy and paste it into the while loop right after the first end in the script and instead of setting their parent to workspace, destroy it. When you get to the last if statement for your last map, instead of cloning it, set it’s parent to workspace.Mapstorage
Only copy the if statement btw (from if to the first end you see after it)