# Wymagane pluginy: Skript, WildSkript, skQuery, skDragon # on script load: send "&7Skrypt na ringo zostal &a&nwlaczony&7!" to all ops send "&7Autor&8: &fTorwik &8(&cVIPEQ na skript.pl&8)" to all ops variables: {ringo::%player%} = false on join: stopEffect "%player%" on quit: stopEffect "%player%" command /ringo []: trigger: if player has permissions "ringo.cmd": close player's inventory open chest with 4 rows named "&c&lRINGO" to player if {ringo::%player%} is false: set player's current inventory's slot 13 to redstone dust named "&8* &cRINGO &8*" with lore "&7Kolor&8: &fCzarny||&8* &7Kliknij, aby &aWLACZYC&7! &8*" set player's current inventory's slot 22 to red wool named "&8* &cRINGO &8*" with lore "&7Status&8: &cWYLACZONY" stop if {ringo::%player%} is true: set player's current inventory's slot 13 to redstone dust named "&8* &cRINGO &8*" with lore "&7Kolor&8: &fCzarny||&8* &7Kliknij, aby &cWYLACZYC&7! &8*" set player's current inventory's slot 22 to green wool named "&8* &cRINGO &8*" with lore "&7Status&8: &aWLACZONY" stop if player doesn't have permissions "ringo.cmd": send "&4Blad: &cNie masz uprawnien do tej komendy! &8(&fringo.cmd&8)" stop on inventory click: if "%inventory name of player's current inventory%" is "&c&lRINGO": cancel event if "%clicked slot%" is "13": if {ringo::%player%} is false: set {ringo::%player%} to true stopEffect "%player%" drawWarpRings style 1, particle "redstone", RGB 0, 0, 0, center player, id "%player%", rainbowMode false, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32 set player's current inventory's slot 13 to redstone dust named "&8* &cRINGO &8*" with lore "&7Kolor&8: &fCzarny||&8* &7Kliknij, aby &aWLACZYC&7! &8*" set player's current inventory's slot 22 to green wool named "&8* &cRINGO &8*" with lore "&7Status&8: &aWLACZONY" stop if {ringo::%player%} is true: set {ringo::%player%} to false stopEffect "%player%" set player's current inventory's slot 13 to redstone dust named "&8* &cRINGO &8*" with lore "&7Kolor&8: &fCzarny||&8* &7Kliknij, aby &cWYLACZYC&7! &8*" set player's current inventory's slot 22 to green wool named "&8* &cRINGO &8*" with lore "&7Status&8: &cWYLACZONY" stop