I'm using the code for level changing from this post:
Level Changing Level Changing
So the player is taken to an end game screen. Works fine when the player makes it to the touch entity but now I want to do the same thing when the player dies. I want to include in the player code something that will call up the function from another script. Is that possible?