variables: {Ringo.blue.%player%} = false every 0.5 second: loop all players: if {Ringo.blue.%loop-player%} is true: stopEffect "%loop-player%" drawWarpRings style 1, particle "redstone", RGB 0, 0, 255, center loop-player, id "%loop-player%", rainbowMode false, scan false, height 1, radius 1.9, ringCount 40, ringDensity 20, visibleRange 32 if {Ringo.blue.%loop-player%} is false: stopEffect "%loop-player%" command /ringo: permission: Ringo.ringo permission message: &4Blad: &cNie masz zakupionych ringo. trigger: open chest with 3 rows named "&7Dostepne ringo:" to player wait 2 tick if {Ringo.blue.%player%} is false: format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &4&lOFF||&7Kliknij, aby &2&lwlaczyc&7." to close then run execute player command "/ringoniebieskie" if {Ringo.blue.%player%} is true: format slot 13 of player with blue wool named "&1NIEBIESKIE RINGO" with lore "&7Status&8: &2&lON||&7Kliknij, aby &4&lwylaczyc&7." to close then run execute player command "/ringoniebieskie" command /ringoniebieskie: trigger: if {Ringo.blue.%player%} is false: set {Ringo.blue.%player%} to true stopEffect "%player%" send player title "&8(&4&lRINGO&8)" with subtitle "&aWlaczyles &7niebieskie ringo" stop if {Ringo.blue.%player%} is true: set {Ringo.blue.%player%} to false stopEffect "%player%" send player title "&8(&4&lRINGO&8)" with subtitle "&cWylaczyles &7niebieskie ringo" stop on inventory click: if inventory name of current inventory of player is "&7Dostepne ringo:": clicked slot is 12 or 14: stop else: cancel event close player's inventory