chciałem dodać do skryptu z premiumcase name tag z nazwą "&4&lKupon na range &6&lVIP" z opisem "&4&lAby otrzymac range skontaktuj sie z administratorem". Czy mógłby ktoś mi pomóc dodać tego name taga? Szansa ma być 0.01%. Z góry Dziękuję.
cały skrypt:
Spoiler
command /pc [<offlineplayer>] [<integer>] [<text>]:
aliases: premiumcase, casee
trigger:
player has permission "memc.premiumcase":
arg 2 is not set:
send " &8» &7Poprawne uzycie: &6/premiumcase <nick/all> <ilosc>"
stop
arg 1 is "all":
loop all players:
loop-player can hold arg 2 of chest named "&9&lPremiumCase":
give loop-player arg 2 of chest named "&9&lPremiumCase"
else:
drop arg 2 of chest named "&9&lPremiumCase" at loop-player
broadcast "&8» &7Caly serwer otrzymal &9&lPremiumCase &8(&c%arg 2%x&8)&7."
execute player command "stb all &8» &7Caly serwer otrzymal &c%arg 2%x &9&lPremiumCase"
execute player command "tb all &5&lCASE"
stop
arg 1 is not online:
send "&cPodany gracz jest offline"
stop
set {_n} to arg 1's name
loop all players:
loop-player's name is "%{_n}%":
set {_p} to loop-player
send "&aDales %arg 1% %arg 2%x &9&lPremiumCase"
send " &8» &7Otrzymales: &c%arg 2%x &l" to {_p}
arg 1 can hold arg 2 of chest named "&9&lPremiumCase":
give arg 2 of chest named "&9&lPremiumCase" to {_p}
else:
drop arg 2 of chest named "&9&lPremiumCase" at {_p}
stop
send "&8» &cNie masz dostepu do tej komendy! &7(memc.memccase)"
stop
on place:
block under event-block is end stone:
stop
block is not chest:
stop
player's tool is not chest named "&9&lPremiumCase":
player's tool is not chest named "&9&lPrrrra":
stop
set event-block to air
set {_i} to 0
chance of 10%:
drop diamond helmet of protection 4 and unbreaking 3 at event-block
drop diamond chestplate of protection 4 and unbreaking 3 at event-block
drop diamond leggings of protection 4 and unbreaking 3 at event-block
drop diamond boots of protection 4 and unbreaking 3 at event-block
drop 373:8233 at event-block
drop 373:8233 at event-block
add 1 to {_i}
chance of 12%:
drop 373:8233 at event-block
drop 373:8233 at event-block
drop 373:8226 at event-block
drop 373:8226 at event-block
add 1 to {_i}
chance of 10%:
drop diamond leggings of protection 4 and unbreaking 3 at event-block
add 1 to {_i}
chance of 15%:
drop diamond boots of protection 4 and unbreaking 3 at event-block
add 1 to {_i}
chance of 5%:
drop 64 emerald at event-block
add 1 to {_i}
chance of 2%:
drop 64 gold block at event-block
add 1 to {_i}
chance of 2%:
drop 64 emerald at event-block
add 1 to {_i}
chance of 1%:
drop diamond pickaxe of efficiency 6, fortune 3 and unbreaking 3 at event-block
add 1 to {_i}
chance of 20%:
drop diamond sword of sharpness 5 and fire aspect 2 at event-block
add 1 to {_i}
chance of 20.001%:
add 1 to {_i}
chance of 2%:
drop 64 emerald block at event-block
add 1 to {_i}
chance of 10%:
drop 64 tnt at event-block
add 1 to {_i}
chance of 2%:
drop 16 ender pearl at event-bloc
add 1 to {_i}
chance of 0.1%:
drop beacon at event-block
send "&9&lGravity&5&lHC&f&l.&4&lpl &8» &7Gracz &6%player% &7wydropil &bBEACON'a &7z &9&lPREMIUMCASE&7!" to all players
add 1 to {_i}
if {_i} is 0:
show mob spawner at event-block
Pytanie
BodzioLodzio 0
chciałem dodać do skryptu z premiumcase name tag z nazwą "&4&lKupon na range &6&lVIP" z opisem "&4&lAby otrzymac range skontaktuj sie z administratorem". Czy mógłby ktoś mi pomóc dodać tego name taga? Szansa ma być 0.01%. Z góry Dziękuję.
cały skrypt:
command /pc [<offlineplayer>] [<integer>] [<text>]:
aliases: premiumcase, casee
trigger:
player has permission "memc.premiumcase":
arg 2 is not set:
send " &8» &7Poprawne uzycie: &6/premiumcase <nick/all> <ilosc>"
stop
arg 1 is "all":
loop all players:
loop-player can hold arg 2 of chest named "&9&lPremiumCase":
give loop-player arg 2 of chest named "&9&lPremiumCase"
else:
drop arg 2 of chest named "&9&lPremiumCase" at loop-player
broadcast "&8» &7Caly serwer otrzymal &9&lPremiumCase &8(&c%arg 2%x&8)&7."
execute player command "stb all &8» &7Caly serwer otrzymal &c%arg 2%x &9&lPremiumCase"
execute player command "tb all &5&lCASE"
stop
arg 1 is not online:
send "&cPodany gracz jest offline"
stop
set {_n} to arg 1's name
loop all players:
loop-player's name is "%{_n}%":
set {_p} to loop-player
send "&aDales %arg 1% %arg 2%x &9&lPremiumCase"
send " &8» &7Otrzymales: &c%arg 2%x &l" to {_p}
arg 1 can hold arg 2 of chest named "&9&lPremiumCase":
give arg 2 of chest named "&9&lPremiumCase" to {_p}
else:
drop arg 2 of chest named "&9&lPremiumCase" at {_p}
stop
send "&8» &cNie masz dostepu do tej komendy! &7(memc.memccase)"
stop
on place:
block under event-block is end stone:
stop
block is not chest:
stop
player's tool is not chest named "&9&lPremiumCase":
player's tool is not chest named "&9&lPrrrra":
stop
set event-block to air
set {_i} to 0
chance of 10%:
drop diamond helmet of protection 4 and unbreaking 3 at event-block
drop diamond chestplate of protection 4 and unbreaking 3 at event-block
drop diamond leggings of protection 4 and unbreaking 3 at event-block
drop diamond boots of protection 4 and unbreaking 3 at event-block
drop 373:8233 at event-block
drop 373:8233 at event-block
add 1 to {_i}
chance of 12%:
drop 373:8233 at event-block
drop 373:8233 at event-block
drop 373:8226 at event-block
drop 373:8226 at event-block
add 1 to {_i}
chance of 10%:
drop diamond leggings of protection 4 and unbreaking 3 at event-block
add 1 to {_i}
chance of 15%:
drop diamond boots of protection 4 and unbreaking 3 at event-block
add 1 to {_i}
chance of 5%:
drop 64 emerald at event-block
add 1 to {_i}
chance of 2%:
drop 64 gold block at event-block
add 1 to {_i}
chance of 2%:
drop 64 emerald at event-block
add 1 to {_i}
chance of 1%:
drop diamond pickaxe of efficiency 6, fortune 3 and unbreaking 3 at event-block
add 1 to {_i}
chance of 20%:
drop diamond sword of sharpness 5 and fire aspect 2 at event-block
add 1 to {_i}
chance of 20.001%:
add 1 to {_i}
chance of 2%:
drop 64 emerald block at event-block
add 1 to {_i}
chance of 10%:
drop 64 tnt at event-block
add 1 to {_i}
chance of 2%:
drop 16 ender pearl at event-bloc
add 1 to {_i}
chance of 0.1%:
drop beacon at event-block
send "&9&lGravity&5&lHC&f&l.&4&lpl &8» &7Gracz &6%player% &7wydropil &bBEACON'a &7z &9&lPREMIUMCASE&7!" to all players
add 1 to {_i}
if {_i} is 0:
show mob spawner at event-block
Odnośnik do komentarza
https://skript.pl/temat/33926-premium-case-kupon-z-rang%C4%85-vip/Udostępnij na innych stronach
2 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ą.