On mine of stone:
chance of 10%:
set event-block to air
set {skrzynka.%player%} to location of chest
loop 5 times:
add a random item out of all items to inventory of event-block
wait 10 ticks
exit loop
wait 20 seconds
set event-block to air
On rightclick on chest:
location of event-block is {skrzynka.%player%}:
wait 5 seconds
set event-block to air
delete {skrzynka.%player%}
jak to napisac bo zamiast brac skrzynke za event block to bierze ten kamien za event block w sumie logiczne ale jak zrobic zeby do skrzynki trafialy te itemy
Pytanie
xSztixPL 14
On mine of stone: chance of 10%: set event-block to air set {skrzynka.%player%} to location of chest loop 5 times: add a random item out of all items to inventory of event-block wait 10 ticks exit loop wait 20 seconds set event-block to air On rightclick on chest: location of event-block is {skrzynka.%player%}: wait 5 seconds set event-block to air delete {skrzynka.%player%}jak to napisac bo zamiast brac skrzynke za event block to bierze ten kamien za event block w sumie logiczne ale jak zrobic zeby do skrzynki trafialy te itemy
Edytowane przez WojciuOdnośnik do komentarza
https://skript.pl/temat/8392-event-block/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi