Witam, zalączam tutaj kod dropu pisanek ze stona,ale cos nie dziala prosze o pomoc
on break of stone:
chance of 5%:
give 383:98 named "&e&o:: &c&oPisanka &e&o::" with lore "&d&oKliknij PPM Aby Otworzyc Pisanke." to player
send "&6&oWykopales: &b&oPisanke!."
stop
on rightclick with 383:98:
if name of player's tool is "&e&o:: &c&oPisanka &e&o::":
cancel event
remove 383:98 named "&e&o:: &c&oPisanka &e&o::" from player
add diamond sword of unbreaking 1000, efficiency 5 named "&6Pisankowy miecz!" to {_gift::*}
add 16 diamond to {_gift::*}
loop 1000 times:
loop {_gift::*}:
chance of 10%:
set {_gift} to loop-value
exit loop
if {_gift} is set:
exit loop
send "&cDostales: %{_gift}%"
give {_gift} to player
Pytanie
xConnor 0
Witam, zalączam tutaj kod dropu pisanek ze stona,ale cos nie dziala prosze o pomoc
on break of stone:
chance of 5%:
give 383:98 named "&e&o:: &c&oPisanka &e&o::" with lore "&d&oKliknij PPM Aby Otworzyc Pisanke." to player
send "&6&oWykopales: &b&oPisanke!."
stop
on rightclick with 383:98:
if name of player's tool is "&e&o:: &c&oPisanka &e&o::":
cancel event
remove 383:98 named "&e&o:: &c&oPisanka &e&o::" from player
add diamond sword of unbreaking 1000, efficiency 5 named "&6Pisankowy miecz!" to {_gift::*}
add 16 diamond to {_gift::*}
loop 1000 times:
loop {_gift::*}:
chance of 10%:
set {_gift} to loop-value
exit loop
if {_gift} is set:
exit loop
send "&cDostales: %{_gift}%"
give {_gift} to player
Poprawiam tytuł //xVendrome
Odnośnik do komentarza
https://skript.pl/temat/17373-poprawa-skryptu-na-pisanki-ze-stone/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi