Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- {cparticlect::%arg 2%} = {cparticlect::%player%}
- {cparticlect::%arg 2%} = {cparticlect::%loop-player%}
- {cparticlecn::%arg 2%} = {cparticlecn::%loop-player%}
- {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"
- if {cparticlect::%player%} is not set:
- set {cparticlect::%player%} to 0
- on leftclick:
- if player is holding a chest named "&6Cosmetics" with lore "&7Open een cosmetic GUI":
- execute console command "/cosmeticmain open %player%"
- cancel event
- on rightclick:
- player is holding a chest named "&6Cosmetics" with lore "&7Open een cosmetic GUI":
- execute console command "/cosmeticmain open %player%"
- cancel event
- command /cosmeticmain open <offline player>:
- executable by: console
- trigger:
- set {_MenuSkull} to "Tom25W" parsed as an offline player
- open chest with 1 rows named "&6Cosmetics" to arg 1
- format slot 0 of arg 1 with orange dye named "&5Particles" to close then run [execute console command "cosmeticp open %arg 1%"]
- format slot 2 of arg 1 with Skull of {_MenuSkull} named "&eHeads" to close
- command /cosmeticp open <offline player>:
- executable by: console
- trigger:
- wait 3 tick
- open chest with 1 rows named "&5Particles" 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 {cparticlect::%arg 2%} is 0:
- if arg 1 is "firework":
- send "&5<Cosmetics> &dFirework Sparks particles aangezet" to arg 2
- set {cparticlect::%arg 2%} to 10
- set {cparticlecn::%arg 2%} to "Firework Sparks"
- 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
- else:
- send "&5<Cosmetics> &4Je hebt nog een cooldown omdat je de particle: &c%{cparticlecn::%arg 2%}% &4aan hebt gezet, van: &c%{cparticlect::%arg 2%}% &4secondes" to arg 2
- stop
- #================================================================
- every 5 ticks:
- loop all players:
- if {cfireworkspark::%loop-player%} is true:
- show 25 "fireworks spark" particles at location of loop-player for loop-player offset by 0.5, 1, 0.5
- stop
- #=================================================================
- every 1 second:
- loop all players:
- if {cparticlect::%loop-player%} is not 0:
- remove 1 from {cparticlect::%loop-player%}
- if {cparticlect::%loop-player%} is 0:
- delete {cparticlecn::%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement