i have this problem with my gang skript, there is like a promotion system where you have to click a players head in a gui to promote them.
but i dont know how to track if a player head is clicked
here is my skript
if clicked item = player head:
if {bande.owner.%{bande.%uuid of player%}%} is player:
set {_target} to (name of clicked item)
bandeManage(player, {_target})
this is that error i get
Can't compare 'clicked item' with an item type (gang.sk, line 419: if clicked item = player head:')
but i dont know how to track if a player head is clicked
here is my skript
if clicked item = player head:
if {bande.owner.%{bande.%uuid of player%}%} is player:
set {_target} to (name of clicked item)
bandeManage(player, {_target})
this is that error i get
Can't compare 'clicked item' with an item type (gang.sk, line 419: if clicked item = player head:')