gdy wpiszesz komende /itemy beda itemy na gildie a 2 kratki w prawo bedrock , a gdy w niego klikiesz (musisz miec itemy na gildie) zespawnij sie boss o 200 hp ktrego trza zabic .. Gdy sie zabije dostanie sie glowe ktora jest potrzebna do zalozenia gildii
KOD:
command /itemy [<text>]:
trigger:
if arg 1 is not set:
set {_item1} to cobblestone named "&c64 Bruk"
set line 1 of lore of {_item1} to " &7%number of cobblestone in the player's inventory%/64"
set {_item2} to 322 named "&c20 Refy"
set line 1 of lore of {_item2} to " &7%number of 322 in the player's inventory%/20"
set {_item3} to anvil named "&c20 Kowaldla"
set line 1 of lore of {_item3} to " &7%number of anvil in the player's inventory%/20"
set {_item4} to block of gold named "&c20 Bloki zlota"
set line 1 of lore of {_item4} to " &7%number of block of gold in the player's inventory%/20"
set {_item5} to diamond named "&c64 Diamenty"
set line 1 of lore of {_item5} to " &7%number of diamond in the player's inventory%/64"
set {_item6} to tnt named "&c64 Tnt"
set line 1 of lore of {_item6} to " &7%number of tnt in the player's inventory%/64"
set {_item7} to emerald named "&c64 Szmaragdy"
set line 1 of lore of {_item7} to " &7%number of emerald in the player's inventory%/64"
open chest with 1 rows named "&c&lItemy potrzebne na gildie" to player
format gui slot 0 of player with {_item1} to run player command "/itemy"
format gui slot 1 of player with {_item2} to run player command "/itemy"
format gui slot 2 of player with {_item3} to run player command "/itemy"
format gui slot 3 of player with {_item4} to run player command "/itemy"
format gui slot 4 of player with {_item5} to run player command "/itemy"
format gui slot 5 of player with {_item6} to run player command "/itemy"
format gui slot 6 of player with {_item7} to run player command "/itemy"
set {_itemy} to sponge named "&c&lBOSS"
set line 1 of lore of {_itemy} to "&cKliknij, aby zespawnic bossa."
set line 2 of lore of {_itemy} to "&cPo zabiciu bossa wyleci"
set line 3 of lore of {_itemy} to "&citem potrzebny do zalozenia gildii."
format gui slot 8 of player with 1 of {_itemy}
if arg 1 is "8":
if player has 64 of cobblestone:
if player has 20 of 322:0:
if player has 20 of anvil:
if player has 20 of block of gold:
if player has 64 of diamond:
if player has 64 of tnt:
if player has 64 of emerald:
remove 64 of cobblestone from player's inventory
remove 20 of 322:0 from player's inventory
remove 20 of anvil from player's inventory
remove 20 of block of gold from player's inventory
remove 64 of diamond from player's inventory
remove 64 of tnt from player's inventory
remove 64 of emerald from player's inventory
send "&cZ bossa wyleci item potrzebny na gildie!"
spawn a zombie at location of player
apply speed 2 to the last spawned entity for 1000 seconds
apply strength 10 to the last spawned entity for 1000 seconds
set the last spawned entity's max health to 100
heal last spawned entity
set the spawned zombie's display name to "&c&lAxen %spawned zombie's health%/%max health of last spawned entity%"
set helmet of the last spawned entity to a diamond helmet
set chestplate of last spawned entity to a diamond chestplate
set leggings of last spawned entity to a diamond leggings
set boots of last spawned entity to a diamond boots
set tool of last spawned entity to a diamond sword
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
else:
send "&cNie posiadasz wszystkich itemow. /itemy"
on damage of creature:
if name of victim contains "&c&lAxen":
set name of victim to "&c&lAxen %health of victim%/%max health of victim%"
on death of creature:
if name of victim contains "&c&lAxen":
drop 1 of zombie head at location of victim
on inventory click:
if inventory name of player's current inventory is "&c&lItemy potrzebne na gildie":
cancel event
wait 2 ticks
execute player command "/itemy %clicked slot%"
close inventory of player
Pytanie
PronaK 0
gdy wpiszesz komende /itemy beda itemy na gildie a 2 kratki w prawo bedrock , a gdy w niego klikiesz (musisz miec itemy na gildie) zespawnij sie boss o 200 hp ktrego trza zabic .. Gdy sie zabije dostanie sie glowe ktora jest potrzebna do zalozenia gildii
KOD:
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi