while true do
game.Lighting.Map1:clone().Parent = game.Workspace
wait(120)
game.Workspace.Map1:remove()
wait()
end
I believe I did it right!
while true do
game.Lighting.Map1:clone().Parent = game.Workspace
wait(120)
game.Workspace.Map1:remove()
wait()
end
I believe I did it right!
It doe work congratulations! Using server storage would be better although, server storage actually stores models and guis into it and be copied right out of it into a new parent like you did!
If you want to have multiple maps, I recommend doing
for i,v in pairs(game.Workspace.ModelWhereTheMapGoes:GetChildren()) do -- creates a table (list) of everything inside the model, then removes everything in it.
v:Destroy()
end
game.ServerStorage.MapYouWantToAddToWorkspace:Clone().Parent=game.Workspace.ModelWhereTheMapGoes
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
you should use serverstorage instead lighting now
Okay thanks!