godot destroy node

JavaScript
Self destroy:
queue_free()
get_parent().remove_child(self)
Source

Also in JavaScript: