Skocz do zawartości
  • 0

Zbroja z efektami


jasnyyy

Pytanie

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /zbroja:
	trigger:
		set {_i} to leather chestplate
		dye {_i} green
		add {_i} with lore "&aJumpboost" to player
		dye {_i} red
		add {_i} with lore "&cStrength" to player
		dye {_i} blue
		add {_i} with lore "&9Speed" to player
on inventory click:
	if type of clicked inventory is player inventory:
		if lore of clicked slot is "&aJumpboost" or "&cStrength" or "&9Speed":
			wait a tick
			remove Jump boost from player
			remove Strength from player
			remove speed from player
			if lore of player's chestplate is "&aJumpboost":
				apply jump boost to player for 999 days
			else if lore of player's chestplate is "&cStrength":
				apply Strength to player for 999 days
			else if lore of player's chestplate is "&9Speed":
				apply Speed to player for 999 days
on rightclick:
	if lore of player's tool is "&aJumpboost" or "&cStrength" or "&9Speed":
		wait a tick
		remove Jump boost from player
		remove Strength from player
		remove speed from player
		if lore of player's chestplate is "&aJumpboost":
			apply jump boost to player for 999 days
		else if lore of player's chestplate is "&cStrength":
			apply Strength to player for 999 days
		else if lore of player's chestplate is "&9Speed":
			apply Speed to player for 999 days

 

Odnośnik do komentarza
https://skript.pl/temat/49217-zbroja-z-efektami/#findComment-305836
Udostępnij na innych stronach

  • 0
2 godziny temu, Shooterowy napisał:

command /zbroja:
	trigger:
		set {_i} to leather chestplate
		dye {_i} green
		add {_i} with lore "&aJumpboost" to player
		dye {_i} red
		add {_i} with lore "&cStrength" to player
		dye {_i} blue
		add {_i} with lore "&9Speed" to player
on inventory click:
	if type of clicked inventory is player inventory:
		if lore of clicked slot is "&aJumpboost" or "&cStrength" or "&9Speed":
			wait a tick
			remove Jump boost from player
			remove Strength from player
			remove speed from player
			if lore of player's chestplate is "&aJumpboost":
				apply jump boost to player for 999 days
			else if lore of player's chestplate is "&cStrength":
				apply Strength to player for 999 days
			else if lore of player's chestplate is "&9Speed":
				apply Speed to player for 999 days
on rightclick:
	if lore of player's tool is "&aJumpboost" or "&cStrength" or "&9Speed":
		wait a tick
		remove Jump boost from player
		remove Strength from player
		remove speed from player
		if lore of player's chestplate is "&aJumpboost":
			apply jump boost to player for 999 days
		else if lore of player's chestplate is "&cStrength":
			apply Strength to player for 999 days
		else if lore of player's chestplate is "&9Speed":
			apply Speed to player for 999 days

 

Tylko jak zrobić aby każda zielona zbroja dawała jumpboosta a nie tylko ta nazwana?

 

Odnośnik do komentarza
https://skript.pl/temat/49217-zbroja-z-efektami/#findComment-305847
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...