witam czy mógłby mi ktoś napisać skrypt na automatyczne losowanie premiumcase do gracza ze na przykład jest losowanie co 2 minuty i to losuje do 1 wybranego gracza automatycznie
albo mógłby mi ktoś to po prostu przerobić na takie coś
bo to mi nie dziala a jak zrobie inacze to daje mi sama skrzynie
teraz dam cale premium case
losowanie
every 1 minutes:
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
cancel event
set {_gracz} to random player out of all players
add 1 chest named "&8[&b&lPremium_&3&lCase&8]" to {_gracz}'s inventory
send "&2&l[&aLOSOWANIE&2&l] &aGracz %{_gracz}% otrzymal &d&lLosowa Skrzynie Mieczy!" to all players
premiumcase
options:
tag: &8[&4Premium&4 Case&8]
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
cancel event
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
broadcast "&8######################################"
broadcast "&c%player% &7Otworzyl &9&lPremium Case &7i wydropil:"
chance of 11%:
drop 1 310 of unbreaking 3 and Protection 4 named ""
broadcast "&f&l» &c1x Diamentowy Hełm 3/4"
chance of 8%:
drop 1 276 of fire aspect 2 and sharpness 5 named ""
broadcast "&f&l» &c1x Diamentowy miecz 2/5"
chance of 5%:
drop 1 276 of knockback 1 and sharpness 5 and fire aspect 2 named ""
broadcast "&f&l» &c1x Diamentowy miecz 1/5/2"
chance of 1%:
drop 1 138
broadcast "&f&l» &c1x Beacon"
chance of 1%:
drop 1 138
broadcast "&f&l» &c1x Bacon"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 6 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowy kilof 3/6/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 7 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowy kilof 3/7/3"
chance of 11%:
drop 1 311 of unbreaking 3 and protection 4 named ""
broadcast "&f&l» &c1x Diamentowy napiersnik 3/4"
chance of 5%:
drop 1 279 of unbreaking 3 named ""
broadcast "&f&l» &c1x Diametnowa siekiera 3"
chance of 5%:
drop 1 277 of unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowa łopata 5/3"
chance of 40%:
drop 1 46 named "&4rzucane tnt"
broadcast "&f&l» &c1x Rzucane TnT"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 8 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/8/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 9 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/9/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 10 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/10/3"
chance of 11%:
drop 1 312 of unbreaking 3 and protection 4 named ""
broadcast "&f&l» &c1x Diamentowe nogawice 3/4"
chance of 30%:
drop 1 373:16425
broadcast "&f&l» &c1x Miotana Mikstura siły"
chance of 35%:
drop 1 46
broadcast "&f&l» &c1x TNT"
chance of 20%:
drop 1 322:1
broadcast "&f&l» &c1x Złote jabłko"
chance of 5%:
drop 1 47
broadcast "&f&l» &c1x Biblioteczka"
chance of 1%:
drop 1 48
broadcast "&f&l» &c1x CobbleX"
chance of 18%:
drop 1 49
broadcast "&f&l» &c1x Obsydian"
chance of 11%:
drop 1 313 of feather falling 2 and protection 4 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowe buty 2/4/3"
chance of 6%:
drop 1 133
broadcast "&f&l» &c1x Blok szmaragdu"
chance of 10%:
drop 1 266
broadcast "&f&l» &c1x Sztabka złota"
chance of 30%:
drop 1 322:0
broadcast "&f&l» &c1x Złote jabłko"
chance of 30%:
drop 1 368
broadcast "&f&l» &c1x Perła Kresu"
chance of 1%:
drop 1 1 named "&9Genareato Kamiania&6+"
broadcast "&f&l» &c1x Generator Kamienia+"
chance of 1%:
drop 1 1 named "&9SUPER SZYBKI GENERATOR KAMIENIA"
broadcast "&f&l» &c1x SUPER SZYBKI GENERATOR KAMIENIA"
chance of 10%:
drop 1 265
broadcast "&f&l» &c1x Sztabka żelaza"
chance of 20%:
drop 1 388
broadcast "&f&l» &c1x Szmaragd"
chance of 6%:
drop 1 264
broadcast "&f&l» &c1x Diament"
chance of 1%:
drop 1 1 named "&c&lAUTOMATYCZNY &f&lKopacz &c&lFosy"
broadcast "&f&l» &c1x KopaczFosy"
chance of 1%:
drop 1 12 named "&8######## &c&LAUTOMATYCZNY SANDFARMER &8########"
broadcast "&f&l» &c1x SandFarmer"
chance of 1%:
drop 1 49 named "&8######## &c&LAUTOMATYCZNY BOYFARMER &8########"
broadcast "&f&l» &c1x BuyFarmer"
chance of 30%:
drop 1 280
broadcast "&f&l» &c1x Patyk"
broadcast "&8| &7PremiumCase zakupisz na: &b&lsgcraft.eu"
broadcast "&8| &7Za &cPSC &7& &cPRZELEW &7kupisz na: &b&lsgcraft.eu"
broadcast "&8######################################"
remove 1 chest named "&8[&b&lPremium &3&lCase&8]" from player's inventory
command /premiumcase [<player>] [<text>]:
permission: rex.premiumcase
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "{@tag} &8/&cpremiumcase &c[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% chest %arg 2% name:&8[&b&lPremium_&3&lCase&8]"
send "{@tag} &a&lOtrzymales &4&lPremium &4&lCase &7&lx&c&l%arg 2% &a&l!" to player-arg
Pytanie
tiler45 0
witam czy mógłby mi ktoś napisać skrypt na automatyczne losowanie premiumcase do gracza ze na przykład jest losowanie co 2 minuty i to losuje do 1 wybranego gracza automatycznie
albo mógłby mi ktoś to po prostu przerobić na takie coś
bo to mi nie dziala a jak zrobie inacze to daje mi sama skrzynie
teraz dam cale premium case
losowanie
every 1 minutes:
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
cancel event
set {_gracz} to random player out of all players
add 1 chest named "&8[&b&lPremium_&3&lCase&8]" to {_gracz}'s inventory
send "&2&l[&aLOSOWANIE&2&l] &aGracz %{_gracz}% otrzymal &d&lLosowa Skrzynie Mieczy!" to all players
premiumcase
options:
tag: &8[&4Premium&4 Case&8]
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
cancel event
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
broadcast "&8######################################"
broadcast "&c%player% &7Otworzyl &9&lPremium Case &7i wydropil:"
chance of 11%:
drop 1 310 of unbreaking 3 and Protection 4 named ""
broadcast "&f&l» &c1x Diamentowy Hełm 3/4"
chance of 8%:
drop 1 276 of fire aspect 2 and sharpness 5 named ""
broadcast "&f&l» &c1x Diamentowy miecz 2/5"
chance of 5%:
drop 1 276 of knockback 1 and sharpness 5 and fire aspect 2 named ""
broadcast "&f&l» &c1x Diamentowy miecz 1/5/2"
chance of 1%:
drop 1 138
broadcast "&f&l» &c1x Beacon"
chance of 1%:
drop 1 138
broadcast "&f&l» &c1x Bacon"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 6 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowy kilof 3/6/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 7 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowy kilof 3/7/3"
chance of 11%:
drop 1 311 of unbreaking 3 and protection 4 named ""
broadcast "&f&l» &c1x Diamentowy napiersnik 3/4"
chance of 5%:
drop 1 279 of unbreaking 3 named ""
broadcast "&f&l» &c1x Diametnowa siekiera 3"
chance of 5%:
drop 1 277 of unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowa łopata 5/3"
chance of 40%:
drop 1 46 named "&4rzucane tnt"
broadcast "&f&l» &c1x Rzucane TnT"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 8 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/8/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 9 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/9/3"
chance of 15%:
drop 1 278 of fortune 3 and efficiency 10 and unbreaking 3 ""
broadcast "&f&l» &c1x Diamentowy kilof 3/10/3"
chance of 11%:
drop 1 312 of unbreaking 3 and protection 4 named ""
broadcast "&f&l» &c1x Diamentowe nogawice 3/4"
chance of 30%:
drop 1 373:16425
broadcast "&f&l» &c1x Miotana Mikstura siły"
chance of 35%:
drop 1 46
broadcast "&f&l» &c1x TNT"
chance of 20%:
drop 1 322:1
broadcast "&f&l» &c1x Złote jabłko"
chance of 5%:
drop 1 47
broadcast "&f&l» &c1x Biblioteczka"
chance of 1%:
drop 1 48
broadcast "&f&l» &c1x CobbleX"
chance of 18%:
drop 1 49
broadcast "&f&l» &c1x Obsydian"
chance of 11%:
drop 1 313 of feather falling 2 and protection 4 and unbreaking 3 named ""
broadcast "&f&l» &c1x Diamentowe buty 2/4/3"
chance of 6%:
drop 1 133
broadcast "&f&l» &c1x Blok szmaragdu"
chance of 10%:
drop 1 266
broadcast "&f&l» &c1x Sztabka złota"
chance of 30%:
drop 1 322:0
broadcast "&f&l» &c1x Złote jabłko"
chance of 30%:
drop 1 368
broadcast "&f&l» &c1x Perła Kresu"
chance of 1%:
drop 1 1 named "&9Genareato Kamiania&6+"
broadcast "&f&l» &c1x Generator Kamienia+"
chance of 1%:
drop 1 1 named "&9SUPER SZYBKI GENERATOR KAMIENIA"
broadcast "&f&l» &c1x SUPER SZYBKI GENERATOR KAMIENIA"
chance of 10%:
drop 1 265
broadcast "&f&l» &c1x Sztabka żelaza"
chance of 20%:
drop 1 388
broadcast "&f&l» &c1x Szmaragd"
chance of 6%:
drop 1 264
broadcast "&f&l» &c1x Diament"
chance of 1%:
drop 1 1 named "&c&lAUTOMATYCZNY &f&lKopacz &c&lFosy"
broadcast "&f&l» &c1x KopaczFosy"
chance of 1%:
drop 1 12 named "&8######## &c&LAUTOMATYCZNY SANDFARMER &8########"
broadcast "&f&l» &c1x SandFarmer"
chance of 1%:
drop 1 49 named "&8######## &c&LAUTOMATYCZNY BOYFARMER &8########"
broadcast "&f&l» &c1x BuyFarmer"
chance of 30%:
drop 1 280
broadcast "&f&l» &c1x Patyk"
broadcast "&8| &7PremiumCase zakupisz na: &b&lsgcraft.eu"
broadcast "&8| &7Za &cPSC &7& &cPRZELEW &7kupisz na: &b&lsgcraft.eu"
broadcast "&8######################################"
remove 1 chest named "&8[&b&lPremium &3&lCase&8]" from player's inventory
command /premiumcase [<player>] [<text>]:
permission: rex.premiumcase
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "{@tag} &8/&cpremiumcase &c[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% chest %arg 2% name:&8[&b&lPremium_&3&lCase&8]"
send "{@tag} &a&lOtrzymales &4&lPremium &4&lCase &7&lx&c&l%arg 2% &a&l!" to player-arg
//Nazwa tematu, błędy ortograficzne @JPablo
Edytowane przez JPabloOdnośnik do komentarza
https://skript.pl/temat/22913-losowanie-premiumcase/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi