1) i have this code
but when i load it it says the error from the first picture
Posted by: frissynn from the skUnity Discord. View the thread on skUnity Discord here
code_language.skript:
on death of a player:
attacker is a player # only run beneath code if killer is a player
add 1 to {killstreak::%uuid of attacker%} # add 1 to kills for killer
add 20 times {killstreak::%uuid of attacker%} to {xp::%uuid of attacker%} #xp on kill
set {killstreak::%uuid of victim%} to 0 # reset kills for killed player
send "&6%{killstreak::%uuid of attacker%}% killstreak! %{l2::%uuid of attacker%}%" to attacker
play sound "ANVIL_BREAK" at volume 0.4 at pitch 1 to attacker # goofy killsound
if {killstreak::%uuid of attacker%} is 50: # overdrive preset
send "Usually you would activate Overdrive here" to attacker # just debugging
{xp::%uuid of attacker%} is greater than 1000:
{l2::%uuid of attacker%} is smaller than 1:
send "&kO&r&e&lPIT LEVEL-UP! &r&3[1] &r&e&l-> &r&3[2]" to attacker
set {l2::%uuid of attacker%} to 1
but when i load it it says the error from the first picture
Posted by: frissynn from the skUnity Discord. View the thread on skUnity Discord here