Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {serca.%player%} = false
- {plomyki.%player%} = false
- {nuty.%player%} = false
- {wybuch.%player%} = false
- {magia.%player%} = false
- {chmura.%player%} = false
- {redd.%player%} = false
- {fajerw.%player%} = false
- {koleczki.%player%} = false
- options:
- noperm:&7&L[&6&lLEffect&7&l]&a&lBrak Uprawnien do tego!
- command /leffect:
- permission: l.effekty
- permission message:%{@noperm}%
- trigger:
- open chest with 3 rows named "&6&lL efect" to player
- wait 2 ticks
- format slot 0 of player with 1 of vines named "" to close
- format slot 1 of player with 1 of vines named "" to close
- format slot 2 of player with 1 of vines named "" to close
- format slot 3 of player with 1 of vines named "" to close
- format slot 4 of player with 1 of glass pane named "" to close
- format slot 5 of player with 1 of vines named "" to close
- format slot 6 of player with 1 of vines named "" to close
- format slot 7 of player with 1 of vines named "" to close
- format slot 8 of player with 1 of vines named "" to close
- format slot 9 of player with 1 of block of redstone named "&a&lEfekt:" with lore "&4&lSerca" to run "efekt %player% serca"
- format slot 10 of player with 1 of fire named "&a&lEfekt:" with lore "&4&lPlomyki" to run "efekt %player% plomyki"
- format slot 11 of player with 1 of note block named "&a&lEfekt:" with lore "&1&lNuty" to run "efekt %player% nuty"
- format slot 12 of player with 1 of tnt named "&a&lEfekt:" with lore "&8&lWybuch" to run "efekt %player% wybuch"
- format slot 13 of player with 1 of enchantment table named "&a&lEfekt:" with lore "&b&lMagia" to run "efekt %player% magia"
- format slot 14 of player with 1 of snow named "&a&lEfekt:" with lore "&7&lChmura" to run "efekt %player% chmura"
- format slot 15 of player with 1 of redstone named "&a&lEfekt:" with lore "&7&lRedstone" to run "efekt %player% redd"
- format slot 16 of player with 1 of firework rocket named "&a&lEfekt:" with lore "&7&lFajerwerki" to run "efekt %player% fajerw"
- format slot 17 of player with 1 of eye of ender named "&a&lEfekt:" with lore "&5&lKoleczki" to run "efekt %player% koleczki"
- format slot 18 of player with 1 of vines named "" to close
- format slot 19 of player with 1 of vines named "" to close
- format slot 20 of player with 1 of vines named "" to close
- format slot 21 of player with 1 of vines named "" to close
- format slot 22 of player with 1 of glass pane named "&C&LReset ALL!" to run "efekt %player% reset"
- format slot 23 of player with 1 of vines named "" to close
- format slot 24 of player with 1 of vines named "" to close
- format slot 25 of player with 1 of vines named "" to close
- format slot 26 of player with 1 of vines named "" to close
- command /efekt [<player>] [<text>]:
- trigger:
- if arg 2 is "serca":
- if {serca.%arg-player%} is false:
- set {serca.%arg-player%} to true
- else:
- set {serca.%arg-player%} to false
- if arg 2 is "plomyki":
- if {plomyki.%arg-player%} is false:
- set {plomyki.%arg-player%} to true
- else:
- set {plomyki.%arg-player%} to false
- if arg 2 is "nuty":
- if {nuty.%arg-player%} is false:
- set {nuty.%arg-player%} to true
- else:
- set {nuty.%arg-player%} to false
- if arg 2 is "wybuch":
- if {wybuch.%arg-player%} is false:
- set {wybuch.%arg-player%} to true
- else:
- set {wybuch.%arg-player%} to false
- if arg 2 is "magia":
- if {magia.%arg-player%} is false:
- set {magia.%arg-player%} to true
- else:
- set {magia.%arg-player%} to false
- if arg 2 is "chmura":
- if {chmura.%arg-player%} is false:
- set {chmura.%arg-player%} to true
- else:
- set {chmura.%arg-player%} to false
- if arg 2 is "redd":
- if {redd.%arg-player%} is false:
- set {redd.%arg-player%} to true
- else:
- set {redd.%arg-player%} to false
- if arg 2 is "fajerw":
- if {fajerw.%arg-player%} is false:
- set {fajerw.%arg-player%} to true
- else:
- set {fajerw.%arg-player%} to false
- if arg 2 is "koleczki":
- if {koleczki.%arg-player%} is false:
- set {koleczki.%arg-player%} to true
- else:
- set {koleczki.%arg-player%} to false
- if arg 2 is "reset":
- set {serca.%arg-player%} to false
- set {plomyki.%arg-player%} to false
- set {nuty.%arg-player%} to false
- set {wybuch.%arg-player%} to false
- set {magia.%arg-player%} to false
- set {chmura.%arg-player%} to false
- set {redd.%arg-player%} to false
- set {fajerw.%arg-player%} to false
- set {koleczki.%arg-player%} to false
- send "Reset all!"
- every 1 seconds:
- loop all players:
- if {serca.%loop-player%} is true:
- spawn 5 of particle heart offset by 0.5, 1, 0.5 at loop-player
- if {plomyki.%loop-player%} is true:
- spawn 5 of particle flame offset by 0.5, 1, 0.5 at loop-player
- if {nuty.%loop-player%} is true:
- spawn 5 of particle note offset by 0.5, 1, 0.5 at loop-player
- if {wybuch.%loop-player%} is true:
- spawn 5 of particle explode offset by 0.5, 1, 0.5 at loop-player
- if {magia.%loop-player%} is true:
- spawn 10 of particle spell offset by 0.5, 1, 0.5 at loop-player
- if {fajerw.%loop-player%} is true:
- spawn 10 of particle cloud offset by 0.5, 1, 0.5 at loop-player
- if {redd.%loop-player%} is true:
- spawn 10 of particle red_dust offset by 0.5, 1, 0.5 at loop-player
- if {fajerw.%loop-player%} is true:
- spawn 5 of particle fireworks_Spark offset by 0.5, 1, 0.5 at loop-player
- if {koleczki.%loop-player%} is true:
- spawn 5 of particle magic_Crit offset by 0.5, 1, 0.5 at loop-player
- on quit:
- set {serca.%player%} to false
- set {plomyki.%player%} to false
- set {nuty.%player%} to false
- set {wybuch.%player%} to false
- set {magia.%player%} to false
- set {chmura.%player%} to false
- set {redd.%player%} to false
- set {fajerw.%player%} to false
- set {koleczki.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment