First checkpoint
void collideDIE(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("DIIIIIIIIE", "fire_damage_custom", "Player", 0.5, false);
AddTimer("" ,1,"damage");
GivePlayerDamage(20, "", true, true);
CheckPoint ("", "PlayerStartArea_2", "Checkpoint01", "Hints", "death");
AddDebugMessage("SOMETHING SOMETHING", false);
}
Second Checkpoint
void BeginRun(string &in asTimer)
{
PlayMusic("Psycho1.ogg", true,1, 0.1, 0, false);
SetEntityActive("crude_man_chains_statue_ghost_2", true);
AddTimer("fuck", 0.3, "fuck");
CheckPoint ("", "PlayerStartArea_4", "respawn", "Hints", "death");
FadeImageTrailTo(1.3, 1);
FadeRadialBlurTo(0.1, 4);
SetEntityActive("Die", true);
AddEntityCollideCallback("Player", "ScriptArea_4", "Diecollide", false, 1);
StopPlayerLookAt();
PlaySoundAtEntity("boo", "sanity_damage", "Player", 0.1, false);
AddTimer("RUN2", 0.4, "RUN2");
}