No one do this.
You got ways.
Or you can do like.self waititll("death");
But it all depends on what you are going to do....self notify("one");
i = 1;
if(i = 1)
So you just make a like X as 0 or 1.
And when you want to check if the player died,
then we set x to equal 1.self waittill("death");
x = 1;
But if the player isn't dead,
But since you don't say what you need it for or how your going to use it.self waittill("player_respawned");
x = 0;
I am just telling you something that I guess is what you seek.
So if your after a specific answer, then you need the question it specific.