Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function funchestParticles(p: player) :: player:
- close {_p}'s inventory
- wait 2 ticks
- open chest with 6 rows named " &a&lFUN CHEST" to {_p}
- format slot 0 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 1 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 2 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 3 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 4 of {_p} with diamond named "&b&l%{dnx.tokens.%{_p}%}% &d&lTokens" to be unstealable
- format slot 5 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 6 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 7 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 8 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 9 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 17 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 18 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 26 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 27 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 35 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 36 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 44 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 45 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 46 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 47 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 48 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 49 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 50 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 51 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 52 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 53 of {_p} with green stained glass pane named "&f" to be unstealable
- if {dnx.funparticle.fire.%{_p}%} is false:
- format slot 21 of {_p} with blaze rod named "&e&l&o» &6&lFire" with lore "||&eMake fire||&earound you!||||%{dnx.funparticlein.fire.%{_p}%}%" to run [funchestParticles({_p})]
- if {dnx.funparticle.fire.%{_p}%} is true:
- format slot 21 of {_p} with shiny blaze rod named "&e&l&o» &6&lFire" with lore "||&eMake fire||&earound you!||||&2&l&oSELECTED" to run [funchestParticles({_p})]
- if {dnx.funparticle.heart.%{_p}%} is false:
- format slot 22 of {_p} with rose red named "&e&l&o» &6&lLove" with lore "||&eMake love hearts flying||&earound you!||||%{dnx.funparticlein.heart.%{_p}%}%" to run [funchestParticles({_p})]
- if {dnx.funparticle.heart.%{_p}%} is true:
- format slot 22 of {_p} with shiny rose red named "&e&l&o» &6&lLove" with lore "||&eMake love hearts flying||&earound you!||||&2&l&oSELECTED" to run [funchestParticles({_p})]
- if {dnx.funparticle.rainbow.%{_p}%} is false:
- format slot 23 of {_p} with purple dye named "&e&l&o» &6&lRainbow" with lore "||&eMake rainbow colors||&earound you!||||%{dnx.funparticlein.rainbow.%{_p}%}%" to run [funchestParticles({_p})]
- if {dnx.funparticle.rainbow.%{_p}%} is true:
- format slot 23 of {_p} with shiny purple dye named "&e&l&o» &6&lRainbow" with lore "||&eMake rainbow colors||&earound you!||||&2&l&oSELECTED" to run [funchestParticles({_p})]
- format slot 40 of {_p} with barrier named "&4&l<-- &c&lGO BACK" to run [make {_p} execute command "/funchest open"]
- function funchestMenuOpen(p: player) :: player:
- close {_p}'s inventory
- wait 2 ticks
- open chest with 6 rows named " &a&lFUN CHEST" to {_p}
- format slot 0 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 1 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 2 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 3 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 4 of {_p} with diamond named "&b&l%{dnx.tokens.%{_p}%}% &d&lTokens" to be unstealable
- format slot 5 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 6 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 7 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 8 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 9 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 17 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 18 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 26 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 27 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 35 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 36 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 44 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 45 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 46 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 47 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 48 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 49 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 50 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 51 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 52 of {_p} with lime stained glass pane named "&f" to be unstealable
- format slot 53 of {_p} with green stained glass pane named "&f" to be unstealable
- format slot 20 of {_p} with nether star named "&e&l&o» &b&lParticles" with lore "||&7Swirly particles that||&7folllow you when you walk!||||&b%{dnx.particlescount.%{_p}%}%&7/&a3" to run [funchestParticles({_p})]
- command /funchest [<text>] [<text>] [<text>] [<text>]:
- trigger:
- if arg-1 is "open":
- funchestMenuOpen(player)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement