I am trying to spawn a map, with this code:
statustag.Value = "Loading Map"
timertag.Value = -1
mapholder:ClearAllChildren()
wait(2)
local allmaps = maps:GetChildren()
local newmap = allmaps[math.random(1, #allmaps)]:clone()
newmap.Parent = mapholder
wait(2)
Which is in a while true do loop, with an end and all. But, when the map spawns, it disapears right afterwards, killing the players.

1 comment
I have bonus stuff in there too.