Hello, devs!
I was making trash system to a game. Don't know why it's not working. There are no errors on output. In script I was cloning Union and then changing position. Maybe union was the problem, but I don't know. Script is located in the model which has a part that size properties was used.
CODE:
while wait(math.random(1,3)) do local pos1 = math.random(-12,12) local pos2 = math.random(-12,12) local trash = game.ReplicatedStorage.Trash:Clone() trash.Position = Vector3.new(pos1, 10, pos2) trash.Anchored = false trash.Parent = game.Workspace end
ERRORS:
No erorrs
Not completely sure about the answer, But I think you can't change the Position before the parent is the workspace, try to put the part in the workspace, and then change the position.
Your code seems to be working perfectly on my end. Make sure that your parts aren't falling below the map and getting destroyed.