Studio returning a warning for no reason

image

I’ve seen this error around the forum a lot when I searched for the resolve. a lot just said do game.Debris:AddItem(item, 0), but I’m not trying to remove the item I’m trying to parent it. I tried putting waits before the code but it didn’t help either.

honestly, this warning is pretty stupid all it does is spam output and does nothing. the code all runs perfectly fine with no issues.

And then it says “something” it doesn’t even tell you where. but I’m assuming this is the code that is yielding this warning:
image

if you had a slight delay before/after setting the parent, it MIGHT fix it.

This warning is caused when trying to parent a item to two different locations at the same time

This is also caused when a Instance is created and the thread immediately tries to destroy the object

My best advice is to wait for the client heartbeat or wait before interacting with an Instance for a second time