Box is not changing position of everything

while true do
		local clone = coin:Clone()
		clone.Parent = game.Workspace.Boxes
		clone.PrimaryPart.Position = Vector3.new(math.random(-77, 77), 2.5, math.random(-60, 60))
		clone.Name = tostring(math.random(1,10000))
		wait(math.random(1, 10))
	end

gajgiuaga.PNG

Only one part is moving. THe other one is stuck.

aigaa

This is how the model is made.

1 Like

Thank you so much :smiley:

maybe change

clone.PrimaryPart.Position = Vector3.new(math.random(-77, 77), 2.5, math.random(-60, 60))

to

clone:SetPrimaryPartCFrame(CFrame.new(Vector3.new(math.random(-77, 77), 2.5, math.random(-60, 60))))

oh Iā€™m late lol eeeeeeeeeeee :c