Narwhal_251 Posted January 8, 2022 Share Posted January 8, 2022 on death: if victim is chicken: if cause of death is lava: add 15 to {chickworth::%player's uuid%} but it doesn't add 15 to chickworth I know it's not supposed to be player's uuid but idk what to put there Link to comment Share on other sites More sharing options...
Helloooooo Posted January 8, 2022 Share Posted January 8, 2022 You need to put %attacker's uuid% instead of %player's uuid%, because in the event you are calling (on death) there are no players but an attacker and a victim. Link to comment Share on other sites More sharing options...
Narwhal_251 Posted January 8, 2022 Author Share Posted January 8, 2022 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 More sharing options...
Narwhal_251 Posted January 8, 2022 Author Share Posted January 8, 2022 I want it so when a chicken dies in lava it adds 15 to the player's chick worth Link to comment Share on other sites More sharing options...
Wyndexx Posted January 10, 2022 Share Posted January 10, 2022 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 More sharing options...
Narwhal_251 Posted January 10, 2022 Author Share Posted January 10, 2022 figured it out 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