Witam mam problem,
zrobilem taki przykladowy skrypt:
variables:
{poziom.%player%} = 1
{exp.%player%} = 0
{awans.exp.%player%} = 250
{klasa.%player%} = none
on first join:
set {poziom.%player%} to 1
set {exp.%player%} to 0
set {awans.exp.%player%} to 250
on death of Zombie:
if {klasa::%attacker%} is "Gangster":
add 10 to {exp::%attacker%}
set action bar of attacker to "&5Poziom: %{poziom.%attacker%}% &5Exp: %{exp.%attacker%}%&5/%{awans.exp.%attacker%}%"
sto