Skocz do zawartości
  • 0

Efekty za Exp


bartekhal

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

command /sklep [<text>] [<text>]:
	trigger:
		if arg-1 is not set:
			open chest with 3 rows named "efekty" to player
			loop 27 times:
				format slot loop-number -1 of player with light gray glass pane named "" to be unstealable
			format slot 9 of player with feather named "&2&lEffekt:&b&l Speed I" with lore "&2&lCzas: &b&l1 &2&lminuta||&2&lKoszt: &b&l10&2&lLVL" to close then run "csklep speed 1 %player%"
			format slot 10 of player with feather named "&2&lEffekt:&b&l Speed II" with lore "&2&lCzas: &b&l2 &2&lminuty &b&l30 &2&lsekund||&2&lKoszt: &b&l15&2&lLVL" to close then run "csklep speed 2 %player%"
command /csklep [<text>] [<integer>] [<player>]:
	executable by: console
	trigger:
		if arg-1 is "speed":
			if arg-2 is 1:
				if player-arg's level >= 10:
					remove 10 from player-arg's level
					send "&2Kupiono efekt &b&lspeed I &2&lna &b&l100 &2&lsekund" to player-arg
					remove speed from player-arg 
					apply speed 1 to player-arg for 60 seconds
				else:
					send "&c&lNie masz 10 lvl" to player-arg
			if arg-2 is 2:
				if player-arg's level >= 15:
					remove 15 from player-arg's level
					send "&2Kupiono efekt &b&lspeed II &2&lna &b&l200 &2&lsekund" to player-arg
					remove speed from player-arg 
					apply speed 2 to player-arg for 150 seconds
				else:
					send "&c&lNie masz 15 lvl" to player-arg

 

niema za co :)

Odnośnik do komentarza
https://skript.pl/temat/17894-efekty-za-exp/#findComment-122379
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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