my parkour game isn't working

so I made this parkour game inspired of the 2 cat 2 curios game but whenever my player touches the campfire (gateway to next level) I die