I’m basically trying to make a system that finds an open plot and moves the player’s house there, but every house spawns in the same plot even though different plots have been chosen. When I add print(position) different positions are printed. Thanks!
for i, plot in ipairs(plots) do
if plot.Bool.Value == false then
print(plot.Name)
position = plot.Position
plot.Bool.Value = true
break
end
end
print(position)
local ClonedArena = Arena:Clone()
ClonedArena.Parent = workspace
ClonedArena:GetDescendants().Position = position