I’m trying to get a model’s vector3 positions, and then insert them into a table. But then, when I print the table, the table is empty.
local natureNpcPositions = {}
for i, v in pairs(drops:GetChildren()) do
if v:IsA("Model") then
table.insert(natureNpcPositions,
{
v:GetPivot().X,
v:GetPivot().Y,
v:GetPivot().Z
}
)
end
end
print(natureNpcPositions)