can anyone point out the error with this code - it seems to be "grammatically" fine but when it runs i get the following error ""The Parent property of Map1 is locked, current parent: NULL, new parent Workspace""
yours - goku
local map = game.Workspace.Map1
map.Parent = game.ServerStorage
local mapCopy = map:Clone()
local mapCopy
local function Regen()
wait(6)
mapCopy:destroy()
mapCopy.Parent = game.Workspace
wait(3)
end
mapCopy.Parent = game.Workspace
while true do
Regen()
end

3 comments
if you want any more information just ask and ill be happy to awnser
Please use code blocks
sorry just realized that -once again sorry for my insolence ill fix if up now