I used math.random here but the cloned parts just keep spawning at the same place
local part = game.ReplicatedStorage.Part
local random = math.random(1,100)
while true do
wait(5)
local newPart = part:Clone()
newPart.Parent = game.Workspace
newPart.Position = Vector3.new(random,100,random)
end
It's my first time using math.random so please help me with it

1 comment
Thanks for the answer!