I am trying to make a custom XP system for my server:
if victim is a player:
send "&c&lYou have been killed by %damager%" to victim
if damager is a player:
send "&c&lYou have killed %victim%" to damager
set {_killcoins} to random integer between 10 and 20
set {_killxp} to random integer between 5 and 10
set {_currentxp} to {xp%{level::%uuid of player%}%::%uuid of player%}
set {xp%{level::%uuid of player%}%::%uuid of player%} to {_currentxp} + {_killxp}```
It says: (screenshot)
I can't figure this out and I tried looking in so many places.