Warning in studio for no reason

so this is a follow up to this post: Studio returning a warning for no reason

I looked around my script and could not find what was causing this problem. the line of code that has anything to do with this error:
image

is this:
image

And I’ve checked this code; it doesn’t assign a parent while something else is trying to set a parent.
Does anybody have any ideas? It’s not causing a problem to the game. It’s just having this error in the console, especially for no reason, is annoying.

1 Like

I think it might be because you are trying to change parents too fast, maybe add a task.wait() in between?

So basically a debounce!

already tried it. any other suggestions???

i had the same problem, nothing is going on the only thing is that you’re changing the parent of an instance to fast

1 Like

ive tried putting waits though i dont understand how its too fast.

Maybe just try adding more time to the wait till it works like,

Use task.wait(1) and if it works try reducing the time!

alright i will try this soon. hopefully it works

1 Like

sadly it did not work. any other ideas

it doesnt really make sense its only changing it once how can it be “too fast”

i can have another resaon but IDK what reason