How do you regen a map after a round is finished? I do not know how to script I am using Malvaviscos's last man standing scrip.
COMMUNITY QUESTION
How do you regen a map after a round is finished?
1 answer
add a wait() and the time to wait inside wait,after wait time is over,simply use Clone(). example:
local map = game.ReplicatedStorage.MapName -- change `mapname` to your map model name,name it something else than model,and put your map in replicatedstorage
local waittime = 60 --change '60' to your desired wait time
while true do --loop
map:Clone().Parent = workspace --clones the map to workspace
wait(waittime) --waits the wait time stated above
workspace.MapName:Destroy() --destroys the map in workspace,and restarts the loop. clones from replicatedstorage and keeps doing it again.
1 comment
0
Ok but where do I add this? Is it just another script or add it to Malvaviscos's script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
delete old model, spawn new model
only if that old model is a clone of another model, if not, set the parent to server storage