0 votes
func _on_Player_respawn():
    queue_free()
    get_tree().change_scene("res://Assets/Scenes/DeathScreen.tscn")


func _on_Player_respawn():
    get_tree().change_scene("res://Assets/Scenes/DeathScreen.tscn")


func _on_Player_respawn():
    get_tree().reload_current_scene

it doesnt matter how i try it, the scane loads but my player and everything else stops working and "Frezzes"

in Engine by (42 points)

It's impossible to help you based on the code you've provided. Consider uploading an example project or a more detailed description of what you're trying to do, what's not working and what's happening instead including the look of your scene tree.

Does it show you any errors? Did you accidentally pause the game somewhere with get_tree().paused = true?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.