Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {qefekty::cena::heart} to 100
- set {qefekty::cena::crit} to 100
- set {qefekty::cena::portal} to 100
- set {qefekty::cena::flame} to 100
- set {qefekty::cena::portal} to 100
- set {qefekty::cena::note} to 100
- command /qefekty [<text="gui">]:
- aliases: efekty, efekt, special, vip, menu, particles, czasteczki
- trigger:
- if arg 1 is "gui":
- open chest with 3 rows to player
- wait a tick
- loop 27 times:
- if loop-number -1 is not 10 or 11 or 12 or 13 or 14 or 15 or 16 or 22 or 26:
- format slot loop-number -1 of player with 1 of green glass pane named "%loop-number -1%" to be unstealable
- format slot 22 of player with 1 of bucket named "&cEfekty sa wylaczone" with lore "||||||&6> &aPamietaj,ze ranga &6&lVIP &ama wszystkie fekty." to be unstealable
- if {qefekt::%player%} is set:
- format slot 22 of player with 1 of lava bucket of unbreaking 10 named "&aEfekty sa wlaczone" with lore "&6> &aNacisnij aby wylaczyc wszystkie efekty||||&6> &aPamietaj,ze ranga &6&lVIP &ama wszystkie fekty." to close then run [make player execute command "qefekty off"]
- format slot 10 of player with 1 of potion of healing named "&cSerca" with lore "&6> &aPokochaj zycie!||&6> &aPrawdziwa nazwa czasteczki: &6HEART" to close then run [make player execute command "qefekty heart"]
- format slot 11 of player with 1 of feather named "&fChmura" with lore "&6> &aPoczuj sie jak samolot w chmurach!||&6> &aPrawdziwa nazwa czasteczki: &6CLOUD" to close then run [make player execute command "qefekty cloud"]
- format slot 12 of player with 1 of iron sword named "&3Critical" with lore "&6> &aNie zapomnij o walce!||&6> &aPrawdziwa nazwa czasteczki: &6CRIT" to close then run [make player execute command "qefekty crit"]
- format slot 13 of player with 1 of fire charge named "&6Ogien" with lore "&6> &aPatrz jak plonie swiat!||&6> &aPrawdziwa nazwa czasteczki: &6FLAME" to close then run [make player execute command "qefekty flame"]
- format slot 14 of player with 1 of enchantment table named "&5Enchant" with lore "&6> &aZaklnij swoja gre!||&6> &aPrawdziwa nazwa czasteczki: &6ENCHANTMENT TABLE" to close then run [make player execute command "qefekty enchantment table"]
- format slot 15 of player with 1 of note block named "&eMuzyka" with lore "&6> &aNiech gra w Tobie muzyka!||&6> &aPrawdziwa nazwa czasteczki: &6NOTE" to close then run [make player execute command "qefekty note"]
- format slot 16 of player with 1 of ender pearl named "&2Portal" with lore "&6> &aPrzyzwyczaj sie do orki :D||&6> &aPrawdziwa nazwa czasteczki: &6PORTAL" to close then run [make player execute command "qefekty portal"]
- format slot 26 of player with 1 of red glass pane named "&cZamknij" to close
- if arg 1 is not "gui":
- if arg 1 is "heart" or "crit" or "smoke" or "cloud" or "enchantment table" or "note" or "red dust" or "flame" or "portal":
- if player has permission "qefekty.vip":
- set {_ok} to true
- send "&aPoniewaz posiadasz konto &6VIP &amozesz uzywac efektow za darmo."
- if player don't have permission "qefekty.vip":
- if player's balance is bigger or equal to 100:
- remove 100 from player's balance
- set {_ok} to true
- send "&a100$ zostalo pobrane z twojego konta. &2Aktualny stan konta: &a%player's balance%$"
- if player's balance is less than 100:
- send "&cNiestety nie masz wystarczajacych srodkow na koncie. &aAby uzywac efektow za darmo potrzebna jest ranga &6VIP&a."
- if {_ok} is true:
- set {qefekt::%player%} to arg
- wait 2 ticks
- execute player command "qefekty"
- if arg 1 is "off":
- delete {qefekt::%player%}
- send "&aWszystkie efekty zostaly wylaczone."
- wait 3 ticks
- execute player command "qefekty"
- if arg 1 is not "gui" or "off" or "heart" or "crit" or "smoke" or "cloud" or "enchantment table" or "note" or "red dust" or "flame" or "portal":
- send "&cNie ma takiej czasteczki lub komendy."
- on any move:
- if {qefekt::%player%} is set:
- show 5 "%{qefekt::%player%}%" particles at location of player for player offset by 0.2, 0.3, 0.5
Advertisement
Add Comment
Please, Sign In to add comment