Hello, i need help with skript. I can't set the player's helmet to a banner.
help would be appreciated, thanks!
this is the error:
Code:
on leftclick:
if clicked block is yellow banner:
send "&6YOU PICKED UP A FLAG!" to player
play sound "entity.experience_orb.pickup" to player
set the clicked block to air
set player's helmet to yellow banner
help would be appreciated, thanks!
this is the error:
Code:
a slot can't be set to 'yellow banner' because the latter is neither an item nor an item stack