Skocz do zawartości
  • 0

Zestawy


xEver1337
 Udostępnij

Pytanie

Witam, napisalem skrypt na kity (zestawy w gui) jak na dragonie survival. Wszystko dziala ale jak serwer jest wylaczony to ten czas sie buguje i nie dziala :/ Tu daje kod: jezeli da sie cos poprawic to poprosze:

variables:
	{zestaw-vip.%player%} = true
	{zestaw-gracz.%player%} = true
	{zestaw-mieso.%player%} = true
command /zestawy [<text>]:
	trigger:
		open chest with 1 row named "&7&lZestawy:" to player
		if {zestaw-gracz.%player%} is true:
			wait 1 tick
			format slot 0 of player with leather tunic named "&7&lKIT &8&lGRACZ" with lore "&7&lZestaw: &a&lDOSTEPNY" to run [execute player command "zestawgracz run"]
		else:
			format slot 0 of player with leather tunic named "&7&lKIT &8&lGRACZ" with lore "&7&lZestaw: &c&lZESTAW MOZNA BRAC CO &C&L&n1H" to close
		if {zestaw-vip.%player%} is true:
			wait 1 tick
			format slot 1 of player with diamond chestplate named "&7&lKIT &6&lVIP" with lore "&7&lZestaw: &a&lDOSTEPNY" to run [execute player command "zestawvip run"]
		else:
			format slot 1 of player with diamond chestplate named "&7&lKIT &6&lVIP" with lore "&7&lZestaw: &c&lZESTAW MOZNA BRAC CO &C&L&n12H" to close
		if {zestaw-mieso.%player%} is true:
			wait 1 tick
			format slot 2 of player with steak named "&7&lKIT &6&lKEBAB" with lore "&7&lZESTAW: &a&lDOSTEPNY" to run [execute player command "zestawmieso run"]
		else:
			format slot 2 of player with steak named "&7&lKIT &6&lKEBAB" with lore "&7&lZESTAW: &c&lZESTAW MOZNA BRAC CO &C&L&n30MINUT" to close
			
command /zestawvip [<text>]:
	trigger:
		if arg 1 is "run":
			execute player command "zestawvip runtime"
			open chest with 2 row named "&7&lZESTAW &6&lVIP" to player
			format slot 0 of player with diamond helmet of protection 4 and unbreaking 3 named "" to be unstealable
			format slot 1 of player with diamond chestplate of protection 4 and unbreaking 3 named "" to be unstealable
			format slot 2 of player with diamond leggings of protection 4 and unbreaking 3 named "" to be unstealable
			format slot 3 of player with diamond boots of protection 4 and unbreaking 3 named "" to be unstealable
			format slot 4 of player with diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "" to be unstealable
			format slot 5 of player with 5 enchanted golden apple named "" to be unstealable
			format slot 6 of player with 20 golden apple named "" to be unstealable
			format slot 7 of player with diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 named "" to be unstealable
			format slot 8 of player with bow of punch 2 and infinity 1 named "" to be unstealable
			format slot 9 of player with arrow named "" to be unstealable
		if arg 1 is "runtime":
			set {zestaw-vip.%player%} to false
			wait 12 hours
			set {zestaw-vip.%player%} to true
command /zestawgracz [<text>]:
	trigger:
		if arg 1 is "run":
			execute player command "zestawgracz runtime"
			open chest with 1 row named "&7&lZESTAW &8&lGRACZ" to player
			format slot 0 of player with iron pickaxe of efficiency 5 and unbreaking 1 named "&7&lKilof startowy" to be unstealable
			format slot 1 of player with 64 steak named "&6&lKebab" to be unstealable
			format slot 2 of player with 64 steak named "&6&lKebab" to be unstealable
			format slot 3 of player with 64 torch named "&7&lPochodnie" to be unstealable
			format slot 4 of player with 1 ender chest named "&7&lEnderchest" to be unstealable 
		if arg 1 is "runtime":	
			set {zestaw-gracz.%player%} to false
			wait 1 hour
			set {zestaw-gracz.%player%} to true
command /zestawmieso [<text>]:
	trigger:
		if arg 1 is "run":
			execute player command "zestawmieso runtime"
			open chest with 1 row named "&7&LZESTAW &6&LKEBAB" to player
			format slot 0 of player with 64 steak named "&6&lKebab" to be unstealable 
			format slot 1 of player with 64 steak named "&6&lKebab" to be unstealable
		if arg 1 is "runtime":
			set {zestaw-mieso.%player%} to false
			wait 30 minutes
			set {zestaw-mieso.%player%} to true

 

Odnośnik do komentarza
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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ę...