Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Kolejny problem ze skryptem na lvl ;-;j


Pabel432

Rekomendowane odpowiedzi

Opublikowano

Tak jak w temacie

Potrzebuje znowu pomocy bo tym razem nie nabija mi lvl:

Jest problem z linijką 111-115 czyli

if {exp.%player%} is bigger than 50:
        add 1 to {lvl.%player%}
        set {exp.%player%} to 0
        wait 1 tick
        send "&aZaawansowales na &e2 poziom! " to attacker

Oto kod:

variables:
	{exp.%player%} = 0
	{lvl.%player%} = 1
	{xpneed1.%player%} = 30
	
options:
	Exp1: 30

on death:
	if attacker is a player:
		if victim is a zombie:
			if name of victim is "Zombie LVL.1":
				add 1 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 2 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 3 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 4 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 6 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 7 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 9 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 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 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 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 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 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 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 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 41 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 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 "Szponiasty Pajak LVL.60":
				add 41 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 54 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 58 to {exp.%attacker%}
				send "&4EXP &a+41" to attacker
				
command /lvl:
    trigger:
        send "&6Posiadasz &3%{lvl.%player%}% lvl"
        send "&6Posiadasz &3%{exp.%player%}% expa"
		
if {exp.%player%} is bigger than 50:
        add 1 to {lvl.%player%}
        set {exp.%player%} to 0
        wait 1 tick
        send "&aZaawansowales na &e2 poziom! " to attacker
	
command /resetlvl:
	trigger:
		set {lvl.%player%} to 1
		set {exp.%player%} to 0
		send "&6Zresetowales sobie lvl!"

Za pomoc daje 3 like ;p

Opublikowano

 

 

variables:
	{exp.%player%} = 0
	{lvl.%player%} = 1
	{xpneed1.%player%} = 30
	
options:
	Exp1: 30

on death:
	if attacker is a player:
		if victim is a zombie:
			if name of victim is "Zombie LVL.1":
				add 1 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 2 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 3 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 4 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 6 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 7 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 9 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 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 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 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 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 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 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 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 41 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 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 "Szponiasty Pajak LVL.60":
				add 41 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 54 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 58 to {exp.%attacker%}
				send "&4EXP &a+41" 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
				
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!"

 

 

Opublikowano

Zedytowałem sobie skrypt no działa ale za szybko mi lvl nabija 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!"
Opublikowano

Oj Pabelku nikt się nie bawi w twoje RPG ;}

 

command /lvl:
	trigger:
        	send "&6Posiadasz &3%{lvl.%player%}% lvl"
        	send "&6Posiadasz &3%{exp.%player%}% expa"
		if {exp.%player%} is bigger than 50:
			add 1 to {lvl.%player%}
			set {exp.%player%} to 0
			wait 1 tick
			send "&aZaawansowales na &e2 poziom! " to attacker

Tylko to wystarczyło zmienić :X

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano

Poprawilem skrypt tylko jest problem z linijką:

if {lvl.%player%} is 4:

 

Oto kod:

variables:
	{exp.%player%} = 0
	{lvl.%player%} = 1
	
options:
	poziom1: 35
	poziom2: 75
	poziom3: 135

on death:
    if attacker is a player:
        if victim is a zombie:
            if name of victim is "Zombie LVL.1":
                add 1 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 2 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 3 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 4 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 6 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 7 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 9 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 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 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 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 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 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 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 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 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 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 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 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 70 to {exp.%attacker%}
                send "&4EXP &a+41" to attacker
        if {lvl.%player%} is 1: 
            if {exp.%attacker%} >= {@poziom1}: 
                add 1 to {lvl.%attacker%}
                set {exp.%attacker%} to 0
                send "&3Gratulacje! &2Awansowales na 2 level!" to attacker
                stop
        if {lvl.%player%} is 2: 
            if {exp.%attacker%} >= {@poziom2}: 
                add 1 to {lvl.%attacker%} 
                set {exp.%attacker%} to 0
                send "&3Gratulacje! &2Awansowales na 3 level!" to attacker
                stop
        if {lvl.%player%} is 3:
            if {exp.%attacker%} >= {@poziom3}:
                add 1 to {lvl.%attacker%}
                set {exp.%attacker%} to 0
                send "&3Gratulacje! &2Awansowales na 4 level!" to attacker
                stop
	if {lvl.%player%} is 4:
                if {exp.%attacker%} >= 200: 
                    add 1 to {lvl.%attacker%} 
                    set {exp.%player%} to 0
                    send "kupa"
                    stop
        if {lvl.%player%} is 5: 
            if {exp.%attacker%} >= 350: 
                add 1 to {lvl.%attacker%} 
                set {exp.%attacker%} to 0
                send "&3Gratulacje! &2Awansowales na 6 level!" to attacker
                stop
        if {lvl.%player%} is 6:
            if {exp.%attacker%} >= 500:
                add 1 to {lvl.%attacker%}
                set {exp.%attacker%} to 0
                send "&3Gratulacje! &2Awansowales na 7 level!" to attacker
                stop
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!"

Daje za pomoc w wytabowaniu 1 like

Opublikowano

@Pabel432

 

 

variables:
	{exp.%player%} = 0
	{lvl.%player%} = 1
	
options:
	poziom1: 35
	poziom2: 75
	poziom3: 135

on death:
	if attacker is a player:
		if victim is a zombie:
			if name of victim is "Zombie LVL.1":
				add 1 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 2 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 3 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 4 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 6 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 7 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 9 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 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 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 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 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 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 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 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 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 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 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 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 70 to {exp.%attacker%}
				send "&4EXP &a+41" to attacker
		if {lvl.%player%} is 1: 
			if {exp.%attacker%} >= {@poziom1}: 
				add 1 to {lvl.%attacker%}
				set {exp.%attacker%} to 0
				send "&3Gratulacje! &2Awansowales na 2 level!" to attacker
				stop
		if {lvl.%player%} is 2: 
			if {exp.%attacker%} >= {@poziom2}: 
				add 1 to {lvl.%attacker%} 
				set {exp.%attacker%} to 0
				send "&3Gratulacje! &2Awansowales na 3 level!" to attacker
				stop
		if {lvl.%player%} is 3:
			if {exp.%attacker%} >= {@poziom3}:
				add 1 to {lvl.%attacker%}
				set {exp.%attacker%} to 0
				send "&3Gratulacje! &2Awansowales na 4 level!" to attacker
				stop
		if {lvl.%player%} is 4:
			if {exp.%attacker%} >= 200: 
				add 1 to {lvl.%attacker%} 
				set {exp.%player%} to 0
				send "kupa"
				stop
		if {lvl.%player%} is 5: 
			if {exp.%attacker%} >= 350: 
				add 1 to {lvl.%attacker%} 
				set {exp.%attacker%} to 0
				send "&3Gratulacje! &2Awansowales na 6 level!" to attacker
				stop
		if {lvl.%player%} is 6:
			if {exp.%attacker%} >= 500:
				add 1 to {lvl.%attacker%}
				set {exp.%attacker%} to 0
				send "&3Gratulacje! &2Awansowales na 7 level!" to attacker
				stop
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!"

 

 

Powinno działać.

409.jpg?7190

|---> Z o s t a n ę <---|

 

Zostanę technikiem na twój serwer minecraft, zrobie cały serwer według twojego pomysłu!
http://www.mpcforum.pl/topic/1486254-zostanę-technikiem-stworzę-serwer-twojego-pomysłu/#entry12589185

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...