the-crypt/levels/other/Timer.gd
2020-07-22 23:57:55 -05:00

13 lines
163 B
GDScript

extends Timer
func _on_Leap_body_entered(body):
start()
func _on_Timer_timeout():
Player.respawn()
get_tree().change_scene("res://levels/Level 1a.tscn")