Jumpscare help

I need help when the enemy gets to the player I want it to change scene and end the game
here is the link https://playcanvas.com/editor/scene/2317785

There isnt even a player in this scene, so how exactly you would verify the function of any code is beyond me. Also Changing Scenes | PlayCanvas Developer Site

well i need to make it that when the bad guy touches the player

thanks

i know how to kinda switch the scene

So this topic is solved?

no

@ALUCARD please go a bit easier on users that are new to the engine or programming. Something like this would be more encouraged:

I don’t see a player object in the scene. Do you need help in adding a player object with a specific behaviour, if so, can you explain more on what you would like the player to be able to do?

ok so add the player from scene one to scene 2

i want it to be a game over jumpscare if the player gets caught it jumpscares and ends the game

I’m not used to JavaScript, so it’s confusing

I shared it with both of you if that helps

The scene doesnt seem to exist anymore.

It still exists
untitled 2

I click the link

Editor - Error 404

its empty

The link itself even gives a 404