|Topic was automatically imported from the old Question2Answer platform.
So, I am new to game development. tbh I’m new to GDScript. So I am making this platformer where there will be a lava pit under the floating grounds and if the player falls in the lava the player will die. But I can’t figure out how to kill the player if the lava is touched and how to make the player respawn at the starting point of the game after they die.