1

Keep potion effects on death

LoadUp's Avatar LoadUp4/15/17 4:17 pm
1 emeralds 8.8k 5
6/1/2017 1:35 pm
Bertiecrafter's Avatar Bertiecrafter
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.
Posted by LoadUp's Avatar
LoadUp
Level 1 : New Miner
0

Create an account or sign in to comment.

5

info Note: You're viewing a single reply. View all replies
1
06/01/2017 1:35 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
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}
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome