#coustom head
1 messages · Page 1 of 1 (latest)
easiest way is the manual way
get urself the head, hold it in ur hand then save it as variable
meaning:
1️⃣ hold in your hand the item you want that code to give you
2️⃣ Make another command to set a global variable {some.var} to be the player's held item.
3️⃣ In the original code where you set a variable to be that item, instead you just use give player 1 of {some.var}
@unique eagle can u send the code how to do that.
you know how to make a command, so all you need to know is how to set {some.variable} to player's tool and you'll be fine.
@unique eagle Doing this does it will be in loop bcz I don't want it to be manually.
I just realized your flaw: you don't know the difference between a local and global variable
if you want to use a variable outside of the code you used it in, it needs to be something other than a local variable. All local variables start with _
So, the variable that you used to set the item needs to have the _ removed and you'll be good.