Proszę o pomoc totalnie nie wiem co jest nie tak a gdy klikam prawy przycisk myszy tym barwnikem nic się nie dzieje.
EDIT 1: Daje tylko Wypalony proch enderu ale nie otwiera enderchesta
on script load:
register new shaped recipe for purple dye of mending 10 named "&fProch &5enderu" using obsidian, obsidian, obsidian, diamond, ender pearl, diamond, obsidian, obsidian, obsidian
on rightclick:
if name of player's tool is "&fProch &5enderu":
execute console command "pex user %player% add essentials.enderchest"
apply nausea 2 to the player for 30 seconds
wait 3 second
execute console command "thor %player%"
execute player command "/enderchest"
execute console command "pex user %player% remove essentials.enderchest"
remove nausea from player
send "&5&lKres został otwarty!"
on rightclick:
if player has 1 of purple dye of mending 10 named "&fProch &5enderu":
wait 1 second
remove 999 purple dye of mending 10 named "&fProch &5enderu" from player
give 1 of light gray concrete powder named "&7Wypalony &fproch &5enderu" to player
Pytanie
NapiTK 0
Proszę o pomoc totalnie nie wiem co jest nie tak a gdy klikam prawy przycisk myszy tym barwnikem nic się nie dzieje.
EDIT 1: Daje tylko Wypalony proch enderu ale nie otwiera enderchesta
on script load: register new shaped recipe for purple dye of mending 10 named "&fProch &5enderu" using obsidian, obsidian, obsidian, diamond, ender pearl, diamond, obsidian, obsidian, obsidian on rightclick: if name of player's tool is "&fProch &5enderu": execute console command "pex user %player% add essentials.enderchest" apply nausea 2 to the player for 30 seconds wait 3 second execute console command "thor %player%" execute player command "/enderchest" execute console command "pex user %player% remove essentials.enderchest" remove nausea from player send "&5&lKres został otwarty!" on rightclick: if player has 1 of purple dye of mending 10 named "&fProch &5enderu": wait 1 second remove 999 purple dye of mending 10 named "&fProch &5enderu" from player give 1 of light gray concrete powder named "&7Wypalony &fproch &5enderu" to player
Edytowane przez LeQuLaAktualizacja
Wstawiam w code.
Odnośnik do komentarza
https://skript.pl/temat/37087-problem-ze-skryptem-na-enderchest/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.