on rightclick with paper:
if name of event-item is "&a&lTania Zdrapka":
wait 1 tick
remove 1 of event-item from player's inventory
chance of 50%:
set {_liczba} to "%random integer between 100 and 200%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
chance of 30%:
set {_liczba} to "%random integer between 150 and 500%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
chance of 20%:
set {_liczba} to "%random integer between 500 and 1000%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
send "&cNic nie wypadło" to player
Pytanie
hyhy123455 0
on rightclick with paper:
if name of event-item is "&a&lTania Zdrapka":
wait 1 tick
remove 1 of event-item from player's inventory
chance of 50%:
set {_liczba} to "%random integer between 100 and 200%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
chance of 30%:
set {_liczba} to "%random integer between 150 and 500%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
chance of 20%:
set {_liczba} to "%random integer between 500 and 1000%"
send "Wygrałeś %{_liczba}%$"
add {_liczba} to player's balance
stop
send "&cNic nie wypadło" to player
Mam vaulta i essentialsa na serwerze
Odnośnik do komentarza
https://skript.pl/temat/50201-nie-wiem-czemu-ale-nie-dodaje-pieni%C4%99dzy/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi