variables:
{exp.%player%} = 0
{lvl.%player%} = 1
on death:
if attacker is a player:
if victim is a zombie:
if name of victim is "Zombie LVL.1":
add 0.000001 to {exp.%attacker%}
send "&4EXP &a+1" to attacker
if attacker is a player:
if victim is a zombie:
if name of victim is "Zombie LVL.2":
add 0.0000002 to {exp.%attacker%}
send "&4EXP &a+2" to attacker
if attacker is a player:
if victim is a zombie:
if name of victim is "Zombie LVL.4":
add 0.03 to {exp.%attacker%}
send "&4EXP &a+3" to attacker
if attacker is a player:
if victim is a zombie:
if name of victim is "Zombie LVL.5":
add 0.04 to {exp.%attacker%}
send "&4EXP &a+4" to attacker
if attacker is a player:
if victim is a spider:
if name of victim is "Pajak LVL.7":
add 0.06 to {exp.%attacker%}
send "&4EXP &a+6" to attacker
if attacker is a player:
if victim is a spider:
if name of victim is "Pajak LVL.11":
add 0.07 to {exp.%attacker%}
send "&4EXP &a+7" to attacker
if attacker is a player:
if victim is a spider:
if name of victim is "Pajak LVL.14":
add 0.09 to {exp.%attacker%}
send "&4EXP &a+9" to attacker
if attacker is a player:
if victim is a cave spider:
if name of victim is "Mrowka LVL.17":
add 0.14 to {exp.%attacker%}
send "&4EXP &a+14" to attacker
if attacker is a player:
if victim is a cave spider:
if name of victim is "Mrowka LVL.21":
add 0.17 to {exp.%attacker%}
send "&4EXP &a+17" to attacker
if attacker is a player:
if victim is a cave spider:
if name of victim is "Mrowka LVL.24":
add 0.19 to {exp.%attacker%}
send "&4EXP &a+19" to attacker
if attacker is a player:
if victim is a creeper:
if name of victim is "Ork LVL.31":
add 0.26 to {exp.%attacker%}
send "&4EXP &a+26" to attacker
if attacker is a player:
if victim is a creeper:
if name of victim is "Ork LVL.36":
add 0.31 to {exp.%attacker%}
send "&4EXP &a+31" to attacker
if attacker is a player:
if victim is a creeper:
if name of victim is "Ork LVL.45":
add 0.35 to {exp.%attacker%}
send "&4EXP &a+35" to attacker
if attacker is a player:
if victim is a creeper:
if name of victim is "Ork LVL.48":
add 0.41 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if attacker is a player:
if victim is a spider:
if name of victim is "Skorpion LVL.54":
add 0.46 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if attacker is a player:
if victim is a zombie:
if name of victim is "Wezowy Miecznik LVL. 57":
add 0.54 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if attacker is a player:
if victim is a spider:
if name of victim is "Szponiasty Pajak LVL.60":
add 0.58 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if attacker is a player:
if victim is a magma cube:
if name of victim is "Ognisty Slime LVL.67":
add 0.63 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if attacker is a player:
if victim is a magma cube:
if name of victim is "Ognisty Slime LVL.72":
add 0.7 to {exp.%attacker%}
send "&4EXP &a+41" to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*15:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*30:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*50:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*80:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*120:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*150:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*275:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*350:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*500:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*700:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*875:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*1000:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
if {exp.%player%} is bigger or equal to {lvl.%attacker%}*1250:
add 1 to {lvl.%attacker%}
set {exp.%attacker%} to 0
wait 1 tick
send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker
command /lvl:
trigger:
send "&6Posiadasz &3%{lvl.%player%}% lvl"
send "&6Posiadasz &3%{exp.%player%}% expa"
command /resetlvl:
trigger:
set {lvl.%player%} to 1
set {exp.%player%} to 0
send "&6Zresetowales sobie lvl!"
Pytanie
Pabel321 0
Siemanko. Tak jak w temacie potrzebuje pomocy.
Mam problem ze skryptem na lvl z mobów
Za szybko nabija mi lvl
Do tego kilka razy wbija 2,3,4 lvl
Oto kod:
variables: {exp.%player%} = 0 {lvl.%player%} = 1 on death: if attacker is a player: if victim is a zombie: if name of victim is "Zombie LVL.1": add 0.000001 to {exp.%attacker%} send "&4EXP &a+1" to attacker if attacker is a player: if victim is a zombie: if name of victim is "Zombie LVL.2": add 0.0000002 to {exp.%attacker%} send "&4EXP &a+2" to attacker if attacker is a player: if victim is a zombie: if name of victim is "Zombie LVL.4": add 0.03 to {exp.%attacker%} send "&4EXP &a+3" to attacker if attacker is a player: if victim is a zombie: if name of victim is "Zombie LVL.5": add 0.04 to {exp.%attacker%} send "&4EXP &a+4" to attacker if attacker is a player: if victim is a spider: if name of victim is "Pajak LVL.7": add 0.06 to {exp.%attacker%} send "&4EXP &a+6" to attacker if attacker is a player: if victim is a spider: if name of victim is "Pajak LVL.11": add 0.07 to {exp.%attacker%} send "&4EXP &a+7" to attacker if attacker is a player: if victim is a spider: if name of victim is "Pajak LVL.14": add 0.09 to {exp.%attacker%} send "&4EXP &a+9" to attacker if attacker is a player: if victim is a cave spider: if name of victim is "Mrowka LVL.17": add 0.14 to {exp.%attacker%} send "&4EXP &a+14" to attacker if attacker is a player: if victim is a cave spider: if name of victim is "Mrowka LVL.21": add 0.17 to {exp.%attacker%} send "&4EXP &a+17" to attacker if attacker is a player: if victim is a cave spider: if name of victim is "Mrowka LVL.24": add 0.19 to {exp.%attacker%} send "&4EXP &a+19" to attacker if attacker is a player: if victim is a creeper: if name of victim is "Ork LVL.31": add 0.26 to {exp.%attacker%} send "&4EXP &a+26" to attacker if attacker is a player: if victim is a creeper: if name of victim is "Ork LVL.36": add 0.31 to {exp.%attacker%} send "&4EXP &a+31" to attacker if attacker is a player: if victim is a creeper: if name of victim is "Ork LVL.45": add 0.35 to {exp.%attacker%} send "&4EXP &a+35" to attacker if attacker is a player: if victim is a creeper: if name of victim is "Ork LVL.48": add 0.41 to {exp.%attacker%} send "&4EXP &a+41" to attacker if attacker is a player: if victim is a spider: if name of victim is "Skorpion LVL.54": add 0.46 to {exp.%attacker%} send "&4EXP &a+41" to attacker if attacker is a player: if victim is a zombie: if name of victim is "Wezowy Miecznik LVL. 57": add 0.54 to {exp.%attacker%} send "&4EXP &a+41" to attacker if attacker is a player: if victim is a spider: if name of victim is "Szponiasty Pajak LVL.60": add 0.58 to {exp.%attacker%} send "&4EXP &a+41" to attacker if attacker is a player: if victim is a magma cube: if name of victim is "Ognisty Slime LVL.67": add 0.63 to {exp.%attacker%} send "&4EXP &a+41" to attacker if attacker is a player: if victim is a magma cube: if name of victim is "Ognisty Slime LVL.72": add 0.7 to {exp.%attacker%} send "&4EXP &a+41" to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*15: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*30: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*50: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*80: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*120: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*150: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*275: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*350: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*500: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*700: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*875: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*1000: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker if {exp.%player%} is bigger or equal to {lvl.%attacker%}*1250: add 1 to {lvl.%attacker%} set {exp.%attacker%} to 0 wait 1 tick send "&aZaawansowales na &e%{lvl.%attacker%}% poziom! " to attacker command /lvl: trigger: send "&6Posiadasz &3%{lvl.%player%}% lvl" send "&6Posiadasz &3%{exp.%player%}% expa" command /resetlvl: trigger: set {lvl.%player%} to 1 set {exp.%player%} to 0 send "&6Zresetowales sobie lvl!"Za pomoc daje 3 like
Odnośnik do komentarza
https://skript.pl/temat/11533-problem-ze-skryptem/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi