I need help with a script, i am making a prison server and a part of it includes working in a kitchen. There i want a player to wash a poisonous potato in a sink. So he needs to right click with that potato on a tripwire and it will give him a normal potato.
I have tried things like:
but nothing works,
thanks for a reply.
I have tried things like:
Code:
on eat of poisonous potato:
cancel event
or
on right click:
if player's held item is poisonous potato:
cancel event
but nothing works,
thanks for a reply.