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

2 comments
Is trash CanCollide = false
Yup, can collide is set to false.