Hello!
So, some servers have a feature to when you die, it completely skips the death screen and puts you into a spectator mode. I've gotten a good portion of it done -- it works flawlessly, sometimes. Other times, it will lock the player on the death screen and them not being able to select "Respawn"; only "Quit to Title Screen".
I have some example videos of what I'm explaining here:
Death screen being avoided:
Death screen glitch:
Code:
So, some servers have a feature to when you die, it completely skips the death screen and puts you into a spectator mode. I've gotten a good portion of it done -- it works flawlessly, sometimes. Other times, it will lock the player on the death screen and them not being able to select "Respawn"; only "Quit to Title Screen".
I have some example videos of what I'm explaining here:
Death screen being avoided:
Death screen glitch:
Code:
code_language.skript:
on damage of player:
wait 1 tick
if victim's health is less than 0.5:
heal the victim
set the victim's gamemode to spectator
add victim to {spec::*}
send "&aYou are now spectating" to victim
send "&aUse those damn items that don't exist right now!" to victim