Suppose I do this

Part.Parent = nil

And then the script gets removed, so all the variables referring to that object get lost. Will that leak memory? What exactly happens when a script gets removed?