extends Node3D @onready var label: Label = $ColorRect/Label # Called when the node enters the scene tree for the first time. func _ready() -> void: AudioServer.set_bus_volume_db(0,-80) get_tree().create_timer(3).timeout.connect(foo) # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func foo(): get_tree().create_tween().tween_property(label, "modulate", Color.TRANSPARENT, 1) await get_tree().create_timer(1).timeout AudioServer.set_bus_volume_db(0,0) get_tree().change_scene_to_file("res://mainmenu.tscn")