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()

4 comments
Everyone's scripting style will be different, because it all comes down to the initial learning experience, their strengths, and their weaknesses, etc. Programming typically deals with problem solving in the real world. The awesome thing about this is that there are multiple ways to solve a problem. Some solutions require less work than others. This will indicate the degree of efficiency the...
...solution potentially contains. So, do not worry about whether your script is "wrong", as long as the script itself is working as intended. If not, then find a solution to the problem, whether by improving its efficiency, or starting the script over.
@Redbullusa Thank you so much
A key point in the differences between the "round" scripts is that certain games require different functionalities. For some game s, like Hide and Seek, simply pasting in the map is enough. For others, such as my Kiseki remake, the map has to be "initialized" and then properly inserted using my Module code for everything to go smoothly.