So currently I am working on a simple map system and am using clone() to replicate a model multiple times to be setup on the map. But it seems tedious to have to clone the model multiple times and set a name to it as well. Is there a way to setup models and be able to call them back later without having to set them up myself?
This is what i'm currently doing
local fenceCloneA = terrain_list["TopFence"]:Clone()
local fenceCloneB = terrain_list["TopFence"]:Clone()
local fenceCloneC = terrain_list["TopFence"]:Clone()
local fenceCloneD = terrain_list["TopFence"]:Clone()
local fenceCloneE = terrain_list["TopFence"]:Clone()
local fenceCloneF = terrain_list["TopFence"]:Clone()
fenceCloneA.Parent = workspace
fenceCloneB.Parent = workspace
fenceCloneC.Parent = workspace
fenceCloneD.Parent = workspace
fenceCloneE.Parent = workspace
fenceCloneF.Parent = workspace
Is there an easier way to be able to clone these and be able to look back at them later if needed?

2 comments
Use a loop
How would I use a loop in this case? Do I use a for loop to repeatedly clone it then parent it to the workspace, if so how would I go around to do it.