local coin = game.ServerStorage.coin local n = 0 local function f () local dup = coin:Clone() dup.Parent = game.Workspace local xPosition = math.random(-70 , 70) local zPosition = math.random(-70 , 70) dup.Position = Vector3.new(xPosition, -2, zPosition)
end
while n<5 do f() n = n+1 end
so i was trying to make this work but i can't figure out how to continuously spawn the coin.