Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set {__r.%{__i}%} to random integer between 10 and 25
- {getDrop::idle::%{_p}%} = true
- format slot {__i} of {_p} with {__r.%{__i}%} of emerald named " " to be unstealable
- set {__i} to 7
- loop 28 times:
- {getDrop::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 1 ticks
- {__i} is 0:
- set {__i} to 7
- remove 1 from {__i}
- set {__r.%{__i}%} to random integer between 10 and 25
- {getDrop::idle::%{_p}%} = true
- format slot {__i}+1 of {_p} with {__r.%{__i}%} of emerald named " " to be unstealable
- {getDrop::idle::%{_p}%} = true
- format slot 1 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 7 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i} to 6
- loop 24 times:
- {getDrop::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 1 ticks
- {__i} is 1:
- set {__i} to 6
- remove 1 from {__i}
- set {__r.%{__i}%} to random integer between 10 and 25
- {getDrop::idle::%{_p}%} = true
- format slot {__i}+1 of {_p} with {__r.%{__i}%} of emerald named " " to be unstealable
- {getDrop::idle::%{_p}%} = true
- format slot 2 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 6 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i} to 5
- loop 15 times:
- {getDrop::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 2 ticks
- {__i} is 2:
- set {__i} to 5
- remove 1 from {__i}
- set {__r.%{__i}%} to random integer between 10 and 25
- {getDrop::idle::%{_p}%} = true
- format slot {__i}+1 of {_p} with {__r.%{__i}%} of emerald named " " to be unstealable
- {getDrop::idle::%{_p}%} = true
- format slot 3 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 5 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i} to 4
- loop 5 times:
- {getDrop::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 5 ticks
- {__i} is 3:
- set {__i} to 4
- remove 1 from {__i}
- set {__r.%{__i}%} to random integer between 10 and 25
- format slot {__i}+1 of {_p} with {__r.%{__i}%} of emerald named " " to be unstealable
- wait 1 second
- {getDrop::idle::%{_p}%} = true
- play raw sound "random.levelup" at {_p} with pitch 1 volume 0.1
- set {__g} to {__r.%{__i}%}+1
- format slot {__i}+1 of {_p} with {__r.%{__i}%}+1 of emerald named "&e&lDEIN GEWINN: &a&l%{__r.%{__i}%}+1% Emeralds!" to run [getReward({_p}, "%{__g}%", "reward")]
- format slot {__i} of {_p} with glowing slimeball named "&aKlicke auf den Emerald, um Gewinn zu erhalten." to be unstealable
- format slot {__i}+2 of {_p} with glowing slimeball named "&aKlicke auf den Emerald, um Gewinn zu erhalten." to be unstealable
- else:
- {_t2} is "reward"
- set {__g.%{_p}%} to {_t} parsed as an integer
- add {__g.%{_p}%} to {gems.%{_p}%}
- send "{@pr} &eFür den Täglichen Vote hast du &a&l%{__g.%{_p}%}% Gems &eerhalten!" to {_p}
- send "{@pr} &eDein Kontostand siehst du unter &a/gems &eoder auch im Scoreboard!" to {_p}
- close {_p}'s inventory
- on inventory close:
- {getDrop::idle::%player%} = true:
- delete {getDrop::idle::%player%}
- loop all items in player's inventory:
- loop-item is a emerald named " ":
- remove loop-item from player's inventory
- loop-item is a green stained glass pane named "{@werbe}":
- remove loop-item from player's inventory
- loop-item is a slimeball named "&aKlicke auf den Emerald, um Gewinn zu erhalten.":
- remove loop-item from player's inventory
- function getReward1(p: player, t: text, t2: text):
- {_t} = "normal":
- difference between {getDrop1::normal::%{_p}%} and now is less than 30 days:
- send "{@pr} &eEs ist noch kein Monat vergangen!" to {_p}
- stop
- open chest with 1 row named "&3&lMonthly Reward" to {_p}
- set {getDrop1::normal::%{_p}%} to now
- set {getDrop1::idle::%{_p}%} to true
- wait 1 tick
- {getDrop1::idle::%{_p}%} = true
- format slot 0 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 8 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i1} to 0
- loop 8 times:
- {getDrop1::idle::%{_p}%} = true
- {__i1} is not more than 6:
- add 1 to {__i1}
- set {__r1.%{__i1}%} to random integer between 50 and 64
- {getDrop1::idle::%{_p}%} = true
- format slot {__i1} of {_p} with {__r1.%{__i1}%} of emerald named " " to be unstealable
- set {__i1} to 7
- loop 28 times:
- {getDrop1::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 1 ticks
- {__i1} is 0:
- set {__i1} to 7
- remove 1 from {__i1}
- set {__r1.%{__i1}%} to random integer between 50 and 64
- {getDrop1::idle::%{_p}%} = true
- format slot {__i1}+1 of {_p} with {__r1.%{__i1}%} of emerald named " " to be unstealable
- {getDrop1::idle::%{_p}%} = true
- format slot 1 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 7 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i1} to 6
- loop 24 times:
- {getDrop1::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 1 ticks
- {__i1} is 1:
- set {__i1} to 6
- remove 1 from {__i1}
- set {__r1.%{__i1}%} to random integer between 50 and 64
- {getDrop1::idle::%{_p}%} = true
- format slot {__i1}+1 of {_p} with {__r1.%{__i1}%} of emerald named " " to be unstealable
- {getDrop1::idle::%{_p}%} = true
- format slot 2 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 6 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i1} to 5
- loop 15 times:
- {getDrop1::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 2 ticks
- {__i1} is 2:
- set {__i1} to 5
- remove 1 from {__i1}
- set {__r1.%{__i1}%} to random integer between 50 and 64
- {getDrop1::idle::%{_p}%} = true
- format slot {__i1}+1 of {_p} with {__r1.%{__i1}%} of emerald named " " to be unstealable
- {getDrop1::idle::%{_p}%} = true
- format slot 3 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- format slot 5 of {_p} with green stained glass pane named "{@werbe}" to be unstealable
- set {__i1} to 4
- loop 5 times:
- {getDrop1::idle::%{_p}%} = true
- play raw sound "random.orb" at {_p} with pitch 1 volume 0.1
- wait 5 ticks
- {__i1} is 3:
- set {__i1} to 4
- remove 1 from {__i1}
- set {__r1.%{__i1}%} to random integer between 50 and 64
- format slot {__i1}+1 of {_p} with {__r1.%{__i1}%} of emerald named " " to be unstealable
- wait 1 second
- {getDrop1::idle::%{_p}%} = true
- play raw sound "random.levelup" at {_p} with pitch 1 volume 0.1
- set {__g1} to {__r1.%{__i1}%}+1
- format slot {__i1}+1 of {_p} with {__r1.%{__i1}%}+1 of emerald named "&e&lDEIN GEWINN: &a&l%{__r1.%{__i1}%}+1% Emeralds!" to run [getReward1({_p}, "%{__g1}%", "reward")]
- format slot {__i1} of {_p} with glowing slimeball named "&aKlicke auf den Emerald, um Gewinn zu erhalten." to be unstealable
- format slot {__i1}+2 of {_p} with glowing slimeball named "&aKlicke auf den Emerald, um Gewinn zu erhalten." to be unstealable
- else:
- {_t2} is "reward"
- set {__g1.%{_p}%} to {_t} parsed as an integer
- add {__g1.%{_p}%} to {gems.%{_p}%}
- send "{@pr} &eFür den Monatlichen Vote hast du &a&l%{__g1.%{_p}%}% Gems &eerhalten!" to {_p}
- send "{@pr} &eDein Kontostand siehst du unter &a/gems &eoder auch im Scoreboard!" to {_p}
- close {_p}'s inventory
- function getDailyMenu(p: player, t: text, i: integer):
- {_t} = "menu":
- open chest with 3 row named "&3&lTNTSpleef.minehut.me" to {_p}
- wait 1 tick
- loop 27 times:
- add 1 to {_i}
- {_i} is between 0 and 8:
- format slot {_i} of {_p} with black stained glass pane named " " to be unstealable
- {_i} is between 9 and 13:
- format slot {_i} of {_p} with white stained glass pane named " " to be unstealable
- {_i} is between 13 and 18:
- format slot {_i} of {_p} with white stained glass pane named " " to be unstealable
- {_i} is between 18 and 26:
- format slot {_i} of {_p} with black stained glass pane named " " to be unstealable
- difference between {getDrop::normal::%{_p}%} and now is less than 1 day:
- format slot 12 of {_p} with redstone block named "&cTäglicher Bonus" with lore "&cEs ist noch kein Tag vergangen!" to close
- else:
- format slot 12 of {_p} with glowing emerald named "&eTäglicher Bonus" with lore "&eKlicke, um den Täglichen Bonus zu erhalten" to run [getReward({_p}, "normal", "")]
- difference between {getDrop1::normal::%{_p}%} and now is less than 30 days:
- format slot 14 of {_p} with redstone block named "&cMonatlicher Bonus" with lore "&cEs ist noch kein Monat vergangen!" to close
- else:
- format slot 14 of {_p} with glowing emerald named "&aMonatlicher Bonus" with lore "&eKlicke, um den MonthlyReward zu Starten." to run [getReward1({_p}, "normal", "")]
- stop
- on inventory close:
- {getDrop1::idle::%player%} = true:
- delete {getDrop1::idle::%player%}
- loop all items in player's inventory:
- loop-item is a emerald named " ":
- remove loop-item from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment