hey i want to set a player head to a variable, but i can't figure out how. and is there a way to call an event when right clicking on a specific player head?
(for the second thing)
Code:
on rightclick:
if clicked block is {_rare}:
break clicked block
send "&9You found a rare candy basket!" to player
play sound "entity.bat.ambient" to player
(for the second thing)