Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- {cfireworkspark::%arg 1%} = {cfireworkspark::%loop-player%}
- {cwolfhearts::%arg 1%} = {cwolfhearts::%loop-player%}
- on join:
- player is in world "world":
- clear the player's inventory
- set slot 4 of player to a chest named "&6Cosmetics" with lore "&7Open een cosmetic GUI"
- on leftclick:
- if player is holding a chest named "&6Cosmetics" with lore "&7Open een cosmetic GUI":
- execute console command "/cosmetic open %player%"
- cancel event
- on rightclick:
- player is holding a chest named "&6Cosmetics" with lore "&7Open een cosmetic GUI":
- execute console command "/cosmetic open %player%"
- cancel event
- command /cosmetic open <offline player>:
- executable by: console
- trigger:
- open chest with 1 rows named "&6Cosmetics" to arg 1
- format slot 0 of arg 1 with leather boots dyed white named "&f&lFirework Sparks" with lore "&710 secondes vuurwerk particles" to close then run [execute console command "cparticle firework %arg 1%"]
- format slot 1 of arg 1 with bone named "&4&lWolf Hearts" with lore "&710 secondes wolven hartjes particles" to close then run [execute console command "cparticle wolfheart %arg 1%"]
- command /cparticle <text> <offline player>:
- executable by: console
- trigger:
- if arg 1 is "firework":
- send "&5<Cosmetics> &dFirework Sparks particles aangezet" to arg 2
- set {cfireworkspark::%arg 2%} to true
- wait 10 seconds
- set {cfireworkspark::%arg 2%} to false
- send "&5<Cosmetics> &dFirework Sparks particles uitgezet" to arg 2
- stop
- if arg 1 is "wolfheart":
- send "&5<Cosmetics> &4Deze particle is nog niet klaar." to arg 2
- stop
- every 5 ticks:
- loop all players:
- if {cfireworkspark::%loop-player%} is true:
- show 50 "fireworks spark" particles at location of loop-player for loop-player offset by 0.5, 1, 0.5
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement