Hello,
i want to save the name of custom heads in a variable when placed and use them for some if statements when broken.
This is currently my script and the message on place just says <nothing>:
Does anyone know why i can't get the name of the player head when being placed?
i want to save the name of custom heads in a variable when placed and use them for some if statements when broken.
This is currently my script and the message on place just says <nothing>:
Code:
on place of player head:
message "%name of event-block%" to player
if name of event-block is "&6Cow":
set {%location%.Block_Name} to name of event-block
on break of player head:
if {%location%.Block_Name} is "&6Cow":
send ":)"
Does anyone know why i can't get the name of the player head when being placed?