and my game over script:```
extends Control
@onready var game_over_label: Label = $gameOverLabel
@onready var play_again_label: Label = $playAgainLabel
@onready var timer: Timer = $Timer
var _can_press_space: bool = false
func _ready():
GameManager.on_game_over.connect(on_game_over)
func _process(_delta):
if _can_press_space == true:
if Input.is_action_just_pressed("swim") == true:
GameManager.load_main_scene()
func on_game_over() -> void:
show()
timer.start()
func run_sequence() -> void:
game_over_label.hide()
play_again_label.show()
_can_press_space = true
func _on_timer_timeout() -> void:
run_sequence()```