extends Area3D
#var Esferauno = preload("res://PERSONAJES MACABROS/ARAÑA/EXPLOTADA ARAÑA.tscn")
var Esferauno = preload("res://MEDICO AUTOPSIA MUERE/MEDICO AUTOPSIA3 PARTIDO POR MITAD MUERE.tscn")
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_area_entered(area: Area3D) -> void:
var parent = get_parent()
var CollisionShape3Dcubo = parent.get_node("CollisionShape3D")
get_node("CollisionShape3D").queue_free()
get_node("CSGCylinder3D").queue_free()
pass # Replace with function body.
func _on_area_exited(area: Area3D) -> void:
var Esferauno = Esferauno.instantiate()
add_child(Esferauno)
pass # Replace with function body.