Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /particles [<Text>] [<Text>]:
- permission: command.particles
- permission message: [&c&l!&f] You don't have permission
- aliases: /p
- trigger:
- if {activated.%player%} does not exist:
- set {activated.%player%} to false
- if arg 1 is not "wings" or "text" or "sphere" or "circle" or "spiral" or "shield" or "disable" or "bigcircle" or "tail" or "floor":
- send "[&c&l!&f] That particle name does not exist. Do &o/Particles &ffor a list of Particles"
- if arg 1 is not set:
- if {back.%player%} is not 0 or 1:
- set {back.%player%} to 0
- if {back.%player%} is 0:
- open chest with 6 rows named "&7Particles" to player
- set {_slot} to 0
- loop 54 times:
- format slot {_slot} of player with gray glass to be unstealable
- add 1 to {_slot}
- format slot 10 of player with nether star named "&4R&ca&6i&en&ab&2o&9w &fSpiral" to run [make player execute command "/p Spiral"]
- format slot 11 of player with sunflower named "&4R&ca&6i&en&ab&2o&9w &fHalo" to run [make player execute command "/format 1"]
- format slot 12 of player with ender pearl named "&4R&ca&6i&en&ab&2o&9w &fRing" to run [make player execute command "/p bigcircle"]
- format slot 13 of player with wooden hoe named "&4R&ca&6i&en&ab&2o&9w &fTail" to run [make player execute command "/p tail"]
- format slot 14 of player with white carpet named "&fParticle Floor" to run [make player execute command "/format 3"]
- format slot 15 of player with slimeball named "&4R&ca&6i&en&ab&2o&9w &fSphere" to run [make player execute command "/p sphere"]
- format slot 16 of player with iron chestplate named "&4R&ca&6i&en&ab&2o&9w &fShield" to run [make player execute command "/p shield"]
- format slot 22 of player with 401 named "&fParticle Wings" to run [make player execute command "/p wings"]
- format slot 49 of player with 166 named "&7Close - Left Click" to close
- format slot 40 of player with red glass block named "&cDisable Particles" to run [make player execute command "/p disable"]
- else if {back.%player%} is 1:
- set {_slot} to 0
- loop 54 times:
- format slot {_slot} of player with gray glass to be unstealable
- add 1 to {_slot}
- format slot 10 of player with nether star named "&4R&ca&6i&en&ab&2o&9w &fSpiral" to run [make player execute command "/p Spiral"]
- format slot 11 of player with sunflower named "&4R&ca&6i&en&ab&2o&9w &fHalo" to run [make player execute command "/format 1"]
- format slot 12 of player with ender pearl named "&4R&ca&6i&en&ab&2o&9w &fRing" to run [make player execute command "/p bigcircle"]
- format slot 13 of player with wooden hoe named "&4R&ca&6i&en&ab&2o&9w &fTail" to run [make player execute command "/p tail"]
- format slot 14 of player with white carpet named "&fParticle Floor" to run [make player execute command "/format 3"]
- format slot 15 of player with slimeball named "&4R&ca&6i&en&ab&2o&9w &fSphere" to run [make player execute command "/p sphere"]
- format slot 16 of player with iron chestplate named "&4R&ca&6i&en&ab&2o&9w &fShield" to run [make player execute command "/p shield"]
- format slot 22 of player with 401 named "&fParticle Wings" to run [make player execute command "/p wings"]
- format slot 49 of player with 166 named "&7Close - Left Click" to close
- format slot 40 of player with red glass block named "&cDisable Particles" to run [make player execute command "/p disable"]
- set {back.%player%} to 0
- if arg 1 is "disable":
- if {activated.%player%} is true:
- send "[&c&l!&f] Particle disabled"
- stopEffect id "%player%.shield"
- stopEffect id "%player%.sphere"
- stopEffect id "%player%.floor1"
- stopEffect id "%player%.floor2"
- stopEffect id "%player%.floor3"
- stopEffect id "%player%.floor4"
- stopEffect id "%player%.floor5"
- stopEffect id "%player%.floor6"
- stopEffect id "%player%.floor7"
- stopEffect id "%player%.floor8"
- stopEffect id "%player%.floor12"
- stopEffect id "%player%.floor13"
- stopEffect id "%player%.floor14"
- stopEffect id "%player%.floor15"
- stopEffect id "%player%.floor16"
- stopEffect id "%player%.floor17"
- stopEffect id "%player%.floor18"
- stopEffect id "%player%.floor19"
- stopEffect id "%player%.tail"
- stopEffect id "%player%.wings"
- stopEffect id "%player%.text"
- stopEffect id "%player%.spiral0"
- stopEffect id "%player%.spiral1"
- stopEffect id "%player%.circle1"
- stopEffect id "%player%.circle2"
- stopEffect id "%player%.bigcircle"
- set {activated.%player%} to false
- else:
- send "[&c&l!&f] You have no particles to disable"
- if arg 1 is "Wings":
- if player has permission "command.particles.wings":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawWings style 12, particle1 "redstone", RGB 0, 0, 0, particle2 "redstone", RGB2 245, 122, 0, particle3 "redstone", RGB3 245, 122, 0, center player, id "%player%.wings", angle 110, height 0, space 0.2, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "Spiral":
- if player has permission "command.particles.spiral":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawComplexSpiral particle "redstone", center player, id "%player%.spiral0", rainbowMode true, clockwise true, scan true, radius 1.1, density 100, height 7, effectMod 0.1, start 0, visibleRange 100
- drawComplexSpiral particle "redstone", center player, id "%player%.spiral1", rainbowMode true, clockwise false, scan true, radius 1.1, density 100, height 7, effectMod 0.1, start 0, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "Circle":
- if player has permission "command.particles.circle":
- if arg 2 is set:
- if arg 2 is "1":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawSimpleHalo particle "redstone", center player, id "%player%.circle1", rainbowMode true, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else if arg 2 is "2":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawHalo particle "redstone", center player, id "%player%.circle2", rainbowMode true, solid true, density 10, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "BigCircle":
- if player has permission "command.particles.bigcircle":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawComplexCircle particle "redstone", center player, id "%player%.bigcircle", rainbowMode true, randomRotation false, radius 1, density 80, start 0, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "tail":
- if player has permission "command.particles.tail":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawNyanCat center player, id "%player%.tail", visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "sphere":
- if player has permission "command.particles.sphere":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawSphere style 1, particle "redstone", center player, id "%player%.sphere", rainbowMode true, radius 2.5, density 500, visibleRange 100, pulseDelay 1
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "floor":
- if player has permission "command.particles.floor":
- if arg 2 is set:
- if arg 2 is "1":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor1", rainbowMode true, scan true, height 0, radius 2, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor2", rainbowMode true, scan true, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor3", rainbowMode true, scan true, height 0, radius 1.4, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor4", rainbowMode true, scan true, height 0, radius 1.1, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor5", rainbowMode true, scan true, height 0, radius .8, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor6", rainbowMode true, scan true, height 0, radius .5, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor7", rainbowMode true, scan true, height 0, radius .2, ringCount 40, ringDensity 20, visibleRange 100
- wait 3 ticks
- drawWarpRings style 1, particle "redstone", center player, id "%player%.floor8", rainbowMode true, scan true, height 0, radius 0, ringCount 40, ringDensity 20, visibleRange 100
- else if arg 2 is "2":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor12", rainbowMode true, scan true, height 0, radius 2, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor13", rainbowMode true, scan true, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor14", rainbowMode true, scan true, height 0, radius 1.4, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor15", rainbowMode true, scan true, height 0, radius 1.1, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor16", rainbowMode true, scan true, height 0, radius .8, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor17", rainbowMode true, scan true, height 0, radius .5, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor18", rainbowMode true, scan true, height 0, radius .2, ringCount 40, ringDensity 20, visibleRange 100
- drawWarpRings style 1, particle "flame", center player, id "%player%.floor19", rainbowMode true, scan true, height 0, radius 0, ringCount 40, ringDensity 20, visibleRange 100
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- if arg 1 is "shield":
- if player has permission "command.particles.shield":
- if {activated.%player%} is true:
- send "[&c&l!&f] You have already a Particle activated"
- else:
- drawWarpRings style 1, particle "redstone", center player, id "%player%.shield", rainbowMode true, scan true, height 2, radius 1, ringCount 40, ringDensity 20, visibleRange 32
- send "[&c&l!&f] Particle activated"
- set {activated.%player%} to true
- else:
- send "[&c&l!&f] You don't have permission"
- command /format [<Text>]:
- trigger:
- if arg 1 is not set:
- send "Arg 1"
- if arg 1 is "1":
- set {_slot} to 0
- loop 54 times:
- format slot {_slot} of player with gray glass to be unstealable
- add 1 to {_slot}
- format slot 20 of player with sunflower named "&4R&ca&6i&en&ab&2o&9w &fHalo: &aAnimated" to run [make player execute command "/p Circle 1"]
- format slot 24 of player with sunflower named "&4R&ca&6i&en&ab&2o&9w &fHalo: &cStable" to run [make player execute command "/p Circle 2"]
- format slot 49 of player with arrow named "&7Back" to run [make player execute command "/format 2"]
- format slot 40 of player with red glass block named "&cDisable Particles" to run [make player execute command "/p disable"]
- if arg 1 is "2":
- set {_slot} to 0
- loop 54 times:
- format slot {_slot} of player with air to be unstealable
- add 1 to {_slot}
- set {back.%player%} to 1
- make player execute command "/p"
- if arg 1 is "3":
- set {_slot} to 0
- loop 54 times:
- format slot {_slot} of player with gray glass to be unstealable
- add 1 to {_slot}
- format slot 20 of player with white carpet named "&6Flame &fFloor" to run [make player execute command "/p floor 2"]
- format slot 24 of player with red carpet named "&4R&ca&6i&en&ab&2o&9w &fFloor" to run [make player execute command "/p floor 1"]
- format slot 49 of player with arrow named "&7Back" to run [make player execute command "/format 2"]
- format slot 40 of player with red glass block named "&cDisable Particles" to run [make player execute command "/p disable"]
- if arg 1 is "4":
- set {seechat.%player%} to true
- send "[&c&l!&f] Write in &oChat &7&o[Without any ""/""] &fthe text you want to display. To disable type ""&ostop&f"" in chat"
- on quit:
- make player execute command "/p disable"
- on script load:
- loop all players:
- if loop-player is op:
- send "[&c&l!&f] Particles &oConfiguration &freloaded" to loop-player
- send "[&c&l!&f] Skript made by - zProHD -" to loop-player
Add Comment
Please, Sign In to add comment