Hello, I am making a punish GUI & I need to know how to add a variable to a player. So when I click to ban the player it adds 1 to a variable for just that player, not everyone (like it is doing atm).
My Code:
My Code:
Code:
command /punishmh [<offlineplayer>]:
permission: punish.use
permission message: &cYou do not have access to this command!
trigger:
message "&6PUNISH &7> &eChecking %arg-1%&e's history..." to player
add 1 to %arg-1% {punish.mh.%uuid of player%}
wait 60 ticks
if {punish.mh.%uuid of player%} = 1: