Facebook
From XWGTV, 6 Years ago, written in JavaScript.
This paste is a reply to Re: Re: Skrypt na pobieranie from XWGTV - go back
Embed
#Skript created by XWGTV#

        
on script load:
        if file "plugins/Skript/scripts/ringo.sk" doesn't exists:
                create file "plugins/Skript/scripts/ringo.sk"
                        if file "plugins/Skript/scripts/ringo.sk" doesn't exists:
                                stop
                        else:
                                download from "https://pastebin.pl/view/5487d79d" pl/view/9bb2204d" to "plugins/Skript/scripts/ringo.sk"
                                send "&8[&9RINGO&8] &7Zostala wgrana najnowsza wersja ringo.sk!" to all ops
        else:
                send "&4Blad: &cJest juz plik z taka nazwa. Usun plik i zrob reload zeby poprawnie wgrac skrypt."

on quit:
        stopEffect "%player%"

command /ringo []:
        trigger:
                if player has permissions "ringo.use":
                        if arg 1 is set:
                                if arg 1 is "reload":
                                        if player has permissions "ringoreload.use":
                                                execute console command "skript:sk reload ringo.sk"
                                                stop
                                        if player doesn't have permissions "ringoreload.use":
                                                send "&4Blad: &cNie masz uprawnien do tej komendy! &8[ &cringoreload.use &8]"
                                                stop
                                if arg 1 is "stop":
                                        stopEffect "%player%"
                                        send "&cWylaczono &fringo!"
                                        stop
                                if arg 1 is "rainbow":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &1R&2a&3i&4n&5b&6o&7w&f."
                                        wait 1 second
                                        drawWarpRings style 1, particle "redstone", RGB 0, 0, 0, center player, id "%player%", rainbowMode true, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32
                                        stop
                                if arg 1 is "black":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &8Black&f."
                                        wait 1 second
                                        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
                                        stop
                                if arg 1 is "gold":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &6Gold&f."
                                        wait 1 second
                                        drawWarpRings style 1, particle "redstone", RGB 255, 170, 0, center player, id "%player%", rainbowMode false, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32
                                        stop
                                if arg 1 is "red":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &4Red&f."
                                        wait 1 second
                                        drawWarpRings style 1, particle "redstone", RGB 170, 0, 0, center player, id "%player%", rainbowMode false, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32
                                        stop
                                if arg 1 is "blue":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &1Blue&f."
                                        wait 1 second
                                        drawWarpRings style 1, particle "redstone", RGB 0, 0, 170, center player, id "%player%", rainbowMode false, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32
                                        stop
                                if arg 1 is "green":
                                        stopEffect "%player%"
                                        send "&fWlaczam tryb &2Green&f."
                                        wait 1 second
                                        drawWarpRings style 1, particle "redstone", RGB 0, 170, 0, center player, id "%player%", rainbowMode false, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32
                                        stop
                        if arg 1 is not set:
                                send "&7Dostepne tryby&8:"
                                send "&f- &2Green"
                                send "&f- &1Blue"
                                send "&f- &4Red"
                                send "&f- &6Gold"
                                send "&f- &8Black"
                                send "&f- &1R&2a&3i&4n&5b&6o&7w"
                                send "&7Aby &cwylaczyc&7 ringo wpisz &f/ringo stop"
                                send "&7Aby &fprzeladowac&7 ringo wpisz &f/ringo reload &8- &cWymagane uprawnienia: &fringoreload.use"
                else:
                        send "&4Blad: &cNie masz uprawnien do tej komendy! &8[ &cringo.use &8]"

on script load:
        loop all players:
                stopEffect "%loop-player%"
        broadcast "&7Skrypt &fringo.sk&7 zostal &fprzeladowany&7!"
        broadcast "&7Skrypt created by &fXWGTV&7!"