Jump to content

On death of player running twice?


EllWasHere

Recommended Posts

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

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...