Hi, I'm trying to make a script that duplicate a part then moves it so it's lined up. So, it's pretty much a badge walk that makes it's self. I'm going to make it awards the badges last as that is pretty simple. Here is the script I'm made:
local badges = {"000,000,000,000"} ---For example, it would make 4 badge awarders, since there's 4 badges that need to be awarded.
game.Players.PlayerAdded:connect(function(plr)
for i, Badge in pairs(badges) do
local badgeawarder = script.Parent ---Object that I want to clone.
local clone = badgeawarder:Clone()
clone.Position = Vector3.New() ---Move it so it so it lines up.
end
end)
Please note I don't know which item to clone/which position since I want to make multiple duplicates and make it in a straight line without any collisions. If you could point me in the direction please do.

3 comments
I am confused,how many duplicates you need and how long the line needs to be?
Maybe you could take away the for loop, because everytime it moves it will make a new badgeawarder with a script in it. I don't really know so I didn't make it an answer
I'm trying to make it so it makes the badge walk automatically so I don't have to, so every badge that I put in the string will get it's own badge awarder.