BOXEY Posted August 10, 2021 Share Posted August 10, 2021 hello i am making a life skript rn and need to know how to stop the player from drop the life counter in there inventory on death: if victim is a player: loop victim's inventory: if loop-value is totem of undying named "&3&lLife&8 | &7%{life.%victim%}%": set loop-slot to air that's my code rn Link to comment Share on other sites More sharing options...
Rodney_RWR Posted August 13, 2021 Share Posted August 13, 2021 on first join: set {lives::%players uuid%} to 3 give player a totem of undying named "&cLives | %{lives::%players uuid%}%" on death: if victim is a player: remove 1 from {live::%players uuid%} remove all tomtem of undying named "&cLive | %{lives::%players uuid%}%" give player a totem of undying named "&cLives | %{lives::%players uuid%}%" this should work (might not knowing me) untested ------------------------------------------------------------------- NO RANK ALL THE WAY --------------------------------------------------------------------- play.koolkidzmc.com (Velocity + Pufferfish FTW) discord.koolkidzmc.com Spoiler /_(•v•)_7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now