I'm trying to make a give function give an amount based on a variable but it's not working
error message:
Code:
on join:
set {%player's uuid%.HeartKeysOnJoin} to 1 #used for testing
if {%player's uuid%.HeartKeysOnJoin} is greater than 0:
give {%player's uuid%.HeartKeysOnJoin} tripwire hook named "&4Heart Crate Key" to player
set {%player's uuid%.HeartKeysOnJoin} to 0
error message: