Cześć mam problem, pisze skrypt na pandore wszystko jest ok, w skripcie nie wywala problemow. Lecz gdy gracz dostaje pandore ona sie nie konczy
kod
Spoiler
options:
tag: &7[&5Pandora&7]
przedmioty: tnt or beacon or anvil or diamond block or melon or sign
command /pdrop:
trigger:
open chest with 3 rows named "&4Drop z pandory" to player
wait 3 tick
format slot 0 of player with 1 of tnt named "&4&lTNT" with lore "" to close
format slot 1 of player with 1 of beacon named "&4&lBeacon" with lore "" to close
format slot 2 of player with 1 of anvil named "&4&lKowadlo" with lore "" to close
format slot 3 of player with 1 of diamond block named "&4&lBlok diamentu" with lore "" to close
format slot 4 of player with 1 of melon named "&4&lMelon" with lore "" to close
format slot 5 of player with 1 of sign named "&4&lTabliczka" with lore "" to close
command /pandora:
trigger:
if player has 576 cobblestone:
remove 576 cobblestone from player
send "&7Otrzymales &5pandore"
execute console command "/give %player% dragon_egg 1 name:&5Pandora"
stop
if player don't have 576 cobblestone:
send "&7Nie posiadasz 9 stackow cobbla"
stop
on right click with dragon egg:
if name of player's tool is "&5Pandora":
cancel event
give a {@przedmioty} to player
send "&7[&5Pandora&7] &6Wylosowales przedmiot" to player
wait 1 tick
remove 1 Dragon Egg named "&5Pandora" from player
Pytanie
Sobkyy 0
Cześć mam problem, pisze skrypt na pandore wszystko jest ok, w skripcie nie wywala problemow. Lecz gdy gracz dostaje pandore ona sie nie konczy
kod
options:
tag: &7[&5Pandora&7]
przedmioty: tnt or beacon or anvil or diamond block or melon or sign
command /pdrop:
trigger:
open chest with 3 rows named "&4Drop z pandory" to player
wait 3 tick
format slot 0 of player with 1 of tnt named "&4&lTNT" with lore "" to close
format slot 1 of player with 1 of beacon named "&4&lBeacon" with lore "" to close
format slot 2 of player with 1 of anvil named "&4&lKowadlo" with lore "" to close
format slot 3 of player with 1 of diamond block named "&4&lBlok diamentu" with lore "" to close
format slot 4 of player with 1 of melon named "&4&lMelon" with lore "" to close
format slot 5 of player with 1 of sign named "&4&lTabliczka" with lore "" to close
command /pandora:
trigger:
if player has 576 cobblestone:
remove 576 cobblestone from player
send "&7Otrzymales &5pandore"
execute console command "/give %player% dragon_egg 1 name:&5Pandora"
stop
if player don't have 576 cobblestone:
send "&7Nie posiadasz 9 stackow cobbla"
stop
on right click with dragon egg:
if name of player's tool is "&5Pandora":
cancel event
give a {@przedmioty} to player
send "&7[&5Pandora&7] &6Wylosowales przedmiot" to player
wait 1 tick
remove 1 Dragon Egg named "&5Pandora" from player
Edytowane przez PoweredDragonOdnośnik do komentarza
https://skript.pl/temat/19687-pandora-si%C4%99-nie-ko%C5%84czy/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi