plugin.Unloading:Connect(function()
for object:Instance, values in Garbage do
RidOf(object)
end
t:Disconnect()
print("disconnected")
end)
literally prints disconnected but does not disconnect the renderstepped thread (t)
there are no loops inside of the renderstepped loop it literally just doesn’t stop which causes old versions to interfere with the current one. I have to re open my game to fix this…
I have tried coroutines and tasks. The thread still continues after being disconnected.