the-crypt/levels/Campaign/Level 1/Timer.gd

14 lines
250 B
GDScript3
Raw Normal View History

2020-07-22 14:05:31 -05:00
extends Timer
func _on_Leap_body_entered(body):
start()
func _on_Timer_timeout():
Player.respawn()
2020-07-23 01:44:41 -05:00
Player.current_scene = "res://levels/Campaign/Level 1/Level 1a.tscn"
get_tree().change_scene("res://levels/Campaign/Level 1/Level 1a.tscn")