Xceislor21313 Posted August 22, 2021 Share Posted August 22, 2021 When I kill a pig I want all the chickens in the world to die along with it (this is a example) how do I do this? Link to comment Share on other sites More sharing options...
0 Lapzzo Posted August 22, 2021 Share Posted August 22, 2021 (edited) Hey, please post skript help in the skript discussion category. I will now skript this for you. on death: if victim is pig: loop all entities: if loop-entity is chicken: set health of loop-entity to 0 Edited August 22, 2021 by Lapzzo Link to comment Share on other sites More sharing options...
Question
Xceislor21313
When I kill a pig I want all the chickens in the world to die along with it (this is a example) how do I do this?
Link to comment
Share on other sites
1 answer to this question
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