# are you sending a node or a scene, because you are removing the script of the node, not from a scene.
# you can pack a scene at runtime btw. but i do not think there is another way to strip it from the PackedScene