extends Area3D
var score = 1
func _ready():
pass
func _on_area_entered(area: Area3D) -> void:
$Label.text = str(score)
score += 1
if score > 8:
get_tree().change_scene_to_file("res://TIAS EN PELOTAS/Hip Hop Dancing AMARILLA.tscn")
func _on_timer_timeout() -> void:
pass # Replace with function body.
--------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------- Estas 2 capturas de pantalla y GDScripts se complementan en un juego------------------------------------
---------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------