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

Prosze o dodanie lvli na czacie oraz tabliczki z expem


Pabel432

Rekomendowane odpowiedzi

Opublikowano

Tak jak w temacie prosze o dopisanie do skryptu linijki ktora dodaje lvle na czacie i obok gracza (jeżeli to możliwe).

Drugim skryptem jest exp w tabliczkach czyli trzymam w rękach tabliczke nazywająca się : Tabliczka +500exp dodaje nam 500 expa minecraftowego (essentialowego)

Za pomoc daje 5 like ;p

Skrypt:

options:
#Exp z danych potworków


expZombie: 0,00015
expSkeleton: 0,0025
expSpiderCave: 0,00375
expSpider: 0,005
expPigMan: 0,00875
expSilverFish: 0,01
expWolf: 0,02
expPig: 0,03
expBlaze: 0,1
expMagma: 0,3






on exp spawn:
cancel event
on death:
loop all players:
if loop-player is "%victim%":
stop
if loop-player is "%attacker%":
send "%victim%" to attacker
set {_next} to true
exit loop
if {_next} is set: 
if victim is zombie:
chance of 15%:
send "&2+&a{@expZombie}" to attacker
add {@expZombie} exp to attacker
if victim is skeleton:
if level of attacker is larger than or equal to 2:
chance of 12%: 
send "&2+&a{@expSkeleton}" to attacker
add {@expSkeleton} exp to attacker
if victim is cave spider:
if level of attacker is larger than or equal to 3:
chance of  10%:
send "&2+&a{@expSpiderCave}" to attacker
add {@expSpiderCave} exp to attacker
if victim is spider:
if level of attacker is larger than or equal to 5:
chance of 8%:
send "&2+&a{@expSpider}" to attacker
add {@expSpider} exp to attacker 
if victim is zombie pigman:
if level of attacker is larger than or equal to 7:
chance of 6%:
send "&2+&a{@expPigMan}" to attacker
add {@expPigMan} exp to attacker
if victim is silverfish:
if level of attacker is larger than or equal to 12:
chance of 5%:
send "&2+&a{@expSilverFish}" to attacker
add {@expSilverFish} exp to attacker
if victim is wolf:
if level of attacker is larger than or equal to 17:
chance of 4%:
send "&2+&a{@expWolf}" to attacker
add {@expWolf} exp to attacker
if victim is pig:
if level of attacker is larger than or equal to 17:
chance of 4%:
send "&2+&a{@expPig}" to attacker
add {@expPig} exp to attacker
if victim is blaze:
if level of attacker is larger than or equal to 30:
chance of 3%:
send "&2+&a{@expBlaze}" to attacker
add {@expBlaze} exp to attacker
if victim is magma cube:
if level of attacker is larger than or equal to 40:
chance of 2%:
send "&2+&a{@expMagma}" to attacker
add {@expMagma} exp to attacker
if level of attacker is larger than or equal to 105:
set level of attacker to 105
set level progress of attacker to 0.99
stop

Oraz prosze o wytabowanie.

Opublikowano
on rightclick with sign:
    if name of player's tool is "Tabliczka +500 exp":
        add 500 to player's level


on exp spawn:
	cancel event
on death:
	loop all players:
		if loop-player is "%victim%":
			stop
		if loop-player is "%attacker%":
			send "%victim%" to attacker
			set {_next} to true
			exit loop
		if {_next} is set: 
			if victim is zombie:
				chance of 15%:
					send "&2+&a{@expZombie}" to attacker
					add {@expZombie} exp to attacker
		if victim is skeleton:
			if level of attacker is larger than or equal to 2:
				chance of 12%: 
					send "&2+&a{@expSkeleton}" to attacker
					add {@expSkeleton} exp to attacker
		if victim is cave spider:
			if level of attacker is larger than or equal to 3:
				chance of 10%:
					send "&2+&a{@expSpiderCave}" to attacker
					add {@expSpiderCave} exp to attacker
		if victim is spider:
			if level of attacker is larger than or equal to 5:
				chance of 8%:
					send "&2+&a{@expSpider}" to attacker
					add {@expSpider} exp to attacker 
		if victim is zombie pigman:
			if level of attacker is larger than or equal to 7:
				chance of 6%:
					send "&2+&a{@expPigMan}" to attacker
					add {@expPigMan} exp to attacker
		if victim is silverfish:
			if level of attacker is larger than or equal to 12:
				chance of 5%:
					send "&2+&a{@expSilverFish}" to attacker
					add {@expSilverFish} exp to attacker
		if victim is wolf:
			if level of attacker is larger than or equal to 17:
				chance of 4%:
					send "&2+&a{@expWolf}" to attacker
					add {@expWolf} exp to attacker
		if victim is pig:
			if level of attacker is larger than or equal to 17:
				chance of 4%:
					send "&2+&a{@expPig}" to attacker
					add {@expPig} exp to attacker
		if victim is blaze:
			if level of attacker is larger than or equal to 30:
				chance of 3%:
					send "&2+&a{@expBlaze}" to attacker
					add {@expBlaze} exp to attacker
		if victim is magma cube:
			if level of attacker is larger than or equal to 40:
				chance of 2%:
					send "&2+&a{@expMagma}" to attacker
					add {@expMagma} exp to attacker
		if level of attacker is larger than or equal to 105:
			set level of attacker to 105
			set level progress of attacker to 0.99
			stop 

Licze na 10 lajkaczy ;/

 

­

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

Opublikowano

Tamten  z tabliiczkami bdzie ci spamil -,- a moj nie

nie jest w takim stanie -,-­

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

  • 2 tygodnie później...
Opublikowano
options:
    #Zmienne: %{zmienna.lvl}%, %player%, %message%
    chat: &8[%{zmienna.lvl}%&8] %player%: %message% 
on chat:
    cancel event
    broadcast "{@chat}"
 

­

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

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...