When I try removing an item from a player. It tells me to "Use 'attacker' and or 'victim' in damage/death events" The code is
remove 1 of tool from victim
Iam using an on death event and using victim. I don't know why its tells me to use victim. I did try changing it to attacker and player both giving the same error.
My whole code is:
on death of player:
if victim has paper named "&o&bThe Pass":
cancel drops
keep the inventory and experiences points
wait 1 tick
remove 1 of tool from victim
Question
Pancake123
When I try removing an item from a player. It tells me to "Use 'attacker' and or 'victim' in damage/death events" The code is
remove 1 of tool from victim
I am using an on death event and using victim. I don't know why its tells me to use victim. I did try changing it to attacker and player both giving the same error.
My whole code is:
on death of player:
if victim has paper named "&o&bThe Pass":
cancel drops
keep the inventory and experiences points
wait 1 tick
remove 1 of tool from victim
Link to comment
Share on other sites
4 answers 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