Skocz do zawartości
  • 0

Top GUI


Legal
 Udostępnij

Pytanie

Witam, nie za bardzo wiem co tutaj jest źle :/ Wklejam konsole i skrypt

 

command /topki:
	trigger:
		open chest with 5 rows named "&a&lTopki" to player
		format slot 44 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 0 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 1 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 2 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 3 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 4 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		set player's current inventory's slot 14 to diamond pickaxe named "&aTop 10 KOPACZY POZIOMU"
		set player's current inventory's slot 10 to obsidian named "&aTop 10 KOPACZY OBYSDIANU"
		set player's current inventory's slot 16 to stone named "&aTop 10 KOPACZY STONE"
		set player's current inventory's slot 12 to slimeball named "&aTop 10 ONLINE"
		format slot 5 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 6 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 7 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 8 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 9 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 13 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 15 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 11 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 17 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 18 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 19 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 20 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 21 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 22 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 23 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 24 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 25 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 26 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 27 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 28 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 29 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 30 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 31 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 32 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 33 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 34 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 35 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 36 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 37 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 38 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 39 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 40 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 41 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 42 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		format slot 43 of player with 1 of Black Stained Glass Pane named "&8&l." to close
		set {_s} to size of {plvl::*}
		loop {_s} times:
			loop {plvl::*}:
				if {_v.%loop-number%} is not set:
					set {_v.%loop-number%} to loop-value
					set {_n.%loop-number%} to loop-index
				if loop-value is larger than {_v.%loop-number%}:
					set {_v.%loop-number%} to loop-value
					set {_n.%loop-number%} to loop-index
			remove {_v.%loop-number%} from {plvl::*}
		wait 2 tick
		loop {_s} times:
			if loop-number is smaller than or equal to 10:
				set {_lore::%loop-number%} to " &8%loop-number%. &7%{_n.%loop-number%}% &e[Poziom: %{_v.%loop-number%}%]"
			set {plvl::%{_n.%loop-number%}%} to {_v.%loop-number%}
		set {_lore} to join {_lore::*} with "||"
		set lore of player's current inventory's slot 14 to {_lore}
		#
		set {_o} to size of {Wykopane.Obsidianek::*}
		loop {_o} times:
			loop {Wykopane.Obsidianek::*}:
				if {_a.%loop-number%} is not set:
					set {_a.%loop-number%} to loop-value
					set {_b.%loop-number%} to loop-index
				if loop-value is larger than {_a.%loop-number%}:
					set {_a.%loop-number%} to loop-value
					set {_b.%loop-number%} to loop-index
			remove {_a.%loop-number%} from {Wykopane.Obsidianek::*}
		wait 2 tick
		loop {_o} times:
			if loop-number is smaller than or equal to 10:
				set {_lore2::%loop-number%} to " &8%loop-number%. &7%{_b.%loop-number%}% &e[Obsydian: %{_a.%loop-number%}%]"
			set {Wykopane.Obsidianek::%{_b.%loop-number%}%} to {_a.%loop-number%}
		set {_lore2} to join {_lore2::*} with "||"
		set lore of player's current inventory's slot 10 to {_lore2}
		#
		set {_k} to size of {wykopany.stone::*}
		loop {_k} times:
			loop {wykopany.stone::*}:
				if {_c.%loop-number%} is not set:
					set {_c.%loop-number%} to loop-value
					set {_d.%loop-number%} to loop-index
				if loop-value is larger than {_c.%loop-number%}:
					set {_c.%loop-number%} to loop-value
					set {_d.%loop-number%} to loop-index
			remove {_c.%loop-number%} from {wykopany.stone::*}
		wait 2 tick
		loop {_k} times:
			if loop-number is smaller than or equal to 10:
				set {_lore3::%loop-number%} to " &8%loop-number%. &7%{_d.%loop-number%}% &e[Stone: %{_c.%loop-number%}%]"
			set {wykopany.stone::%{_d.%loop-number%}%} to {_c.%loop-number%}
		set {_lore3} to join {_lore3::*} with "||"
		set lore of player's current inventory's slot 16 to {_lore3}
		#
		set {_cza} to size of {minutes::*}
		loop {_cza} times:
			loop {minutes::*}:
				if {_p.%loop-number%} is not set:
					set {_p.%loop-number%} to loop-value
					set {_l.%loop-number%} to loop-index
				if loop-value is larger than {_p.%loop-number%}:
					set {_p.%loop-number%} to loop-value
					set {_l.%loop-number%} to loop-index
			remove {_p.%loop-number%} from {minutes::*}
		wait 2 tick
		loop {_cza} times:
			if loop-number is smaller than or equal to 10:
				set {_lore4::%loop-number%} to " &8%loop-number%. &7%{_l.%loop-number%}% &e[Czas: %{_p.%loop-number%}% min]"
			set {minutes::%{_l.%loop-number%}%} to {_p.%loop-number%}
		set {_lore4} to join {_lore4::*} with "||"
		set lore of player's current inventory's slot 12 to {_lore4}
on inventory click:
	if "%inventory name of player's current inventory%" is "&a&lTopki":
		close player's inventory

 

 

Konsola:

 

Spoiler

[01:06:57 INFO]: Loaded 17479 aliases in 1053ms
[01:06:57 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 53: set {_v.%loop-number%} to loop-value')
[01:06:57 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 55: if loop-value is larger than {_v.%loop-number%}:')
[01:06:57 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 71: set {_a.%loop-number%} to loop-value')
[01:06:57 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 73: if loop-value is larger than {_a.%loop-number%}:')
[01:06:57 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 89: set {_c.%loop-number%} to loop-value')
[01:06:58 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 91: if loop-value is larger than {_c.%loop-number%}:')
[01:06:58 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 107: set {_p.%loop-number%} to loop-value')
[01:06:58 ERROR]: There are multiple loops that match loop-value. Use loop-value-1/2/3/etc. to specify which loop's value you want. (test.sk, line 109: if loop-value is larger than {_p.%loop-number%}:')
[01:06:58 WARN]: the inventory name of the open inventory of the player is already a text, so you should not put it in one (e.g. the inventory name of the open inventory of the player instead of "%the inventory name of the open inventory of the player%") (test.sk, line 121: if "%inventory name of player's current inventory%" is "&a&lTopki":')
[01:06:58 INFO]: Loaded 1 script with a total of 1 trigger and 1 command in 0.98 seconds
[01:06:58 INFO]: [Skript] Encountered 8 errors while reloading the config and all scripts!

 

Odnośnik do komentarza
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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