14 lines
250 B
GDScript
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")
|