-- Example: spawn a part every 5 seconds at varying X positions while true do local x = math.random(-50, 50) spawnPart(Vector3.new(x, 10, 0)) wait(5) end
-- Example: spawn a part every 5 seconds at varying X positions while true do local x = math.random(-50, 50) spawnPart(Vector3.new(x, 10, 0)) wait(5) end