the-crypt/levels/Campaign/Level 1/Timer.gd
2020-07-23 01:44:41 -05:00

14 lines
250 B
GDScript

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