1
Keep potion effects on death
Hello everyone i am in a need of help. I am making a unforgiving minecraft Adventure map. But when the players die they just respawn and walk back like nothing happend. So i made a hasDied scoreboard to meassure their deaths. If they die once they get a slowness effect. The problem is when they and they get the potion effect they dont have enough time to click respawn so that means the effect has kicked off but when they do click respawn the effect dissapers. I need to know is there a way to keep effects on players even after death. I cant just use a repeating command block to give them the effect beacuse its situnational to when they die. I realy need a quick Response!! Also they effect doesnt last forever.
Create an account or sign in to comment.
5
info Note: You're viewing a single reply. View all replies
1
Another solution is giving everyone with a death slowness, unless the score is 0. However, instead you use this command:
/scoreboard players set @a[score_hasDied_min=1] hasDied 0 {Health:20.0f}
/scoreboard players set @a[score_hasDied_min=1] hasDied 0 {Health:20.0f}