on script load:
loop 123 times:
send "Pomyslnie zaladowano ringo" to all ops
stop
variables:
{Ringo.blue.%player%} = false
{Ringo.colorR.%player%} = 0
{Ringo.colorG.%player%} = 0
{Ringo.colorB.%player%} = 255
every 0.5 second:
loop all players:
if {Ringo.blue.%loop-player%} is true:
stopEffect "%loop-player%"
drawWarpRings style 1, particle "redstone", RGB {Ringo.colorR.%player%}, {Ringo.colorG.%player%}, {Ringo.colorB.%player%}, 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 [<text>]:
permission: ringo
permission message: &4Blad: &cNie posiadasz dostepu
trigger:
open chest with 3 rows named "&7Dostepne ringo:" to player
wait 2 tick
if {Ringo.black.%player%} is false:
if {Ringo.blue.%player%} is false:
format slot 13 of player with blue wool named "&7Kolor&8: &9niebieski" with lore "&7Status&8: &c&l✘|| &8● &7Kliknij, aby zmienic status" to close then run [execute player command "/ringoniebieskie"]
if {Ringo.blue.%player%} is true:
format slot 13 of player with blue wool named "&7Kolor&8: &9niebieski" with lore "&7Status&8: &a&l✔|| &8● &7Kliknij, aby zmienic status" to close then run [execute player command "/ringoniebieskie"]
command /ringoniebieskie [<text>]:
trigger:
if {Ringo.blue.%player%} is false:
set {Ringo.blue.%player%} to true
stopEffect "%player%"
send player title "&8 ●&6RINGO &8●" with subtitle "&8» &7Zmieniles status na&8: &aon"
stop
if {Ringo.blue.%player%} is true:
set {Ringo.blue.%player%} to false
stopEffect "%player%"
send player title "&8● &6RINGO &8●" with subtitle "&8» &7Zmieniles status na&8: &coff"
stop
command /ringochangecolor [<integer>] [<integer>] [<integer>]:
trigger:
if arg-3 is set:
set {Ringo.colorR.%player%} to arg-1
set {Ringo.colorG.%player%} to arg-2
set {Ringo.colorB.%player%} to arg-3
send "&eZmieniles kolor ringo na &7RGB &4%arg-1%&7, &2%arg-2%&7, &1%arg-3%"
stop
send "&cPoprawne uzycie &7/ringochangecolor R G B"
send "kolory ze zobacz w google"
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
dorób komedy odpowiednie /ringochangecolor int int int do itemów w gui