EllWasHere Posted February 21, 2023 Share Posted February 21, 2023 I'm making a 3 lives skript and for some reason when you die, it runs code after "on death:" twice. Example: ```on death of player: remove 1 from {%victim%.lives} broadcast "&c%victim%&7 lost a life! They now have &c%{%victim%.lives}%&7 live(s)!"``` This would take away 2 lives. What I mean is, it will run the code once, and then run it again for some reason. Link to comment Share on other sites More sharing options...
las328 Posted March 9, 2023 Share Posted March 9, 2023 Hmmmm, are you setting the victim's lifes in the first place? It might just start with 2 lives. (chat update) Well, I'm on team #RevertTheUpdate, but if you want to vote, please vote on my post here: Link to comment Share on other sites More sharing options...
EllWasHere Posted March 11, 2023 Author Share Posted March 11, 2023 Yeah, it's set to 3. 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