I made a script that is supposed to just spawn parts all over the map but it isn't working and there are no errors.
My script (server side script)
for i = 1,100 do
local part = Instance.new('Part')
part.Anchored = false
part.CanCollide = true
part.Position = Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
wait()
end

2 comments
Mention that the part should be parented last.
Thanks mythicalshade it works