i want to try an old idea i had but gave up on
the idea is basically that the player instantly dies if they have a light level of 2 or less with block light and 0 from sky light (both having to be true during day time, and sky light being ignored at night time)
also im using true darkness
also please, if there is a way to do the light check at the player head position (also when crawling), do that to prevent being partially in the ground or crawling result in death
death message: (playername) has been consumed by the darkness
also please make the death message only show on the death screen and not send out in chat
edit:
and please make it bypass totem of undying and other such things