Jump to content

Mob death caused by lava and adding 15 to a player's variable


Narwhal_251

Recommended Posts

on death:
    if victim is chicken:
        if cause of death is lava:
            add 15 to {chickworth::%player's uuid%}

 

It says can't understand this "if cause of death is lava"

 

also I don't think that will work because if you put attacker's uuid then it will give the lava 15 chickworth

Link to comment
Share on other sites

try

if damage cause is lava:

 

I'm not sure if this will work though. You should also try looking for a similar example on the web

 

Main MC account: Gam3rBoi (VIP in MH)

Alt MC account: *Gam3rBoi2147

Farcade server owner

Skripter with 6+ months experience + time learning coding concepts

Message me through the forums if you need anything!

Link to comment
Share on other sites

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...