You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
A script that creates Rigs of random colors and in random positions. - What is the issue? Include screenshots / videos if possible!
The Rigs are being deleted. - What solutions have you tried so far? Did you look for solutions on the Creator Hub?
Changing from MoveTo to PivotTo, yes.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
for i=1,Random.new():NextInteger(1,10),1 do
local t=game:GetService("ServerStorage").Folder:GetChildren()
local r=t[Random.new():NextInteger(1,#t)]
local c=r:Clone()
local int=10000
local n_int=-10000
local r2=Random.new():NextInteger(n_int,int)
c.Parent=game.Workspace
c:PivotTo(CFrame.new(Vector3.new(r2,r2,r2),Vector3.new(0,0,0)))
task.wait()
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.