So heres my script to generate a clone of a map for a map changing script. When i see other versions of clones or map changing scripts they have way different scripts like ones with if statements, some state new instances. Is there anything wrong with mine? It works. But others make me wonder if im missing something to make the script better.
local players = game.Players local num = math.random (1, 2) local Map1 = game.ServerStorage.Maps.Map1 function engageMap1() wait(5) game.ServerStorage.Maps.Map1:clone().Parent = game.Workspace wait(3) end engageMap1()
Hey there!
There was a question similiar to this here. A script example is there.
As redbull states, everyone is different in their methods, so you do you.