# Skript hokuspokus-antyfokus by GreeexYT. Pozdrawiam wszystkich uzytkowników Skript.pl # Kanał autora na Youtube - https://www.youtube.com/channel/UCHcFBm2pm27uGhKp9o18OQA # Każdy ma prawo do DOWOLNEJ zmiany skriptu. Jedyne czego nie polecam zmieniać, to te trzy linijki. options: GUI1: &cHokusPokus GUI2: &cHokusPokus &7- &6Wybierz Nick variables: {PrzemianaGotowa::%player%} = false {PrzemianaNick::%player%} = "Brak" {PrzemianaSkin::%player%} = "Brak" {PrzemianaAktywna::%player%} = false {PrzemianaNickChat::%player%} = false {PrzemianaSkinChat::%player%} = false command /hokuspokus []: aliases: CzaryMary permission: HokusPokus permission message: &cNie jestes czarownikiem :/ trigger: open chest with 5 rows named "{@GUI1}" to player if {PrzemianaNick::%player%} is not "Brak": if {PrzemianaSkin::%player%} is not "Brak": set {PrzemianaGotowa::%player%} to true else: set {PrzemianaGotowa::%player%} to false else: set {PrzemianaGotowa::%player%} to false loop 5*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 11 to name tag named "&cWymysl nick" with lore "&6Mozesz tez wybrac nick z listy" set player's current inventory's slot 13 to skull of ("GreeexYT" parsed as offline player) named "&cWymysl skina" with lore "&6Mozesz tez wybrac skina dostepnego ponizej" set player's current inventory's slot 15 to book named "&cWybierz Nick z listy" with lore "&6Mozesz tez wymyslic wlasny nick" set player's current inventory's slot 28 to skull of ("Treeee_" parsed as offline player) named "&cTreeee_" with lore "&6Kliknij aby zmienic skina na skina gracza &cTreeee_" set player's current inventory's slot 29 to skull of ("AliTheBoss1" parsed as offline player) named "&cAliTheBoss1" with lore "&6Kliknij aby zmienic skina na skina gracza &cAliTheBoss1" set player's current inventory's slot 30 to skull of ("iios_xx" parsed as offline player) named "&ciios_xx" with lore "&6Kliknij aby zmienic skina na skina gracza &ciios_xx" set player's current inventory's slot 31 to skull of ("Canuck1917" parsed as offline player) named "&cCanuck1917" with lore "&6Kliknij aby zmienic skina na skina gracza &cCanuck1917" set player's current inventory's slot 32 to skull of ("ItzAleeeh" parsed as offline player) named "&cItzAleeeh" with lore "&6Kliknij aby zmienic skina na skina gracza &cItzAleeeh" set player's current inventory's slot 33 to skull of ("Moscaa" parsed as offline player) named "&cMoscaa" with lore "&6Kliknij aby zmienic skina na skina gracza &cMoscaa" set player's current inventory's slot 34 to skull of ("iDqrker" parsed as offline player) named "&ciDqrker" with lore "&6Kliknij aby zmienic skina na skina gracza &ciDqrker" if {PrzemianaGotowa::%player%} is true: set player's current inventory's slot 39 to 351:10 named "&2Zatwierdzam!" with lore "&6Kliknij, a zatwierdzisz zmiany!" if {PrzemianaGotowa::%player%} is false: set player's current inventory's slot 39 to 351:1 named "&4Nie gotowe!" with lore "&cPrzemiana nie gotowa!||&cSprawdz na ksiazce, co brakuje!" set player's current inventory's slot 41 to book named "&cNiezatwierdzona Przemiana:" with lore "&6Nick: %{PrzemianaNick::%player%}%||&c&6Skin: %{PrzemianaSkin::%player%}%" set player's current inventory's slot 40 to hopper named "&cWyjdz z Hokuspokus" with lore "&6Sprowadz sie do prawdziwych danych!" on inventory click: if inventory name of player's current inventory is "{@GUI1}": cancel event if clicked slot is 15: close player's inventory open chest with 5 rows named "{@GUI2}" to player loop 5*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 15 to paper named "&cHajsZaLas123" with lore "&6Kliknij aby zmienic nick na &cHajsZaLas123" set player's current inventory's slot 10 to paper named "&cJesteJutubere1" with lore "&6Kliknij aby zmienic nick na &cJesteJutubere1" set player's current inventory's slot 11 to paper named "&cPolskiNiemiec21" with lore "&6Kliknij aby zmienic nick na &cPolskiNiemiec21" set player's current inventory's slot 12 to paper named "&cHaxBardzo62" with lore "&6Kliknij aby zmienic nick na &cHaxBardzo62" set player's current inventory's slot 13 to paper named "&cMajkraftVertez" with lore "&6Kliknij aby zmienic nick na &cMajkraftVertez" set player's current inventory's slot 14 to paper named "&cPolishSpider69" with lore "&6Kliknij aby zmienic nick na &cPolishSpider69" set player's current inventory's slot 16 to paper named "&cMeinePatyk121" with lore "&6Kliknij aby zmienic nick na &cMeinePatyk121" set player's current inventory's slot 19 to paper named "&cMisiu20" with lore "&6Kliknij aby zmienic nick na &cMisiu20" set player's current inventory's slot 20 to paper named "&cRaper27HAHA" with lore "&6Kliknij aby zmienic nick na &cRaper27HAHA" set player's current inventory's slot 21 to paper named "&cDawajOPboBan" with lore "&6Kliknij aby zmienic nick na &cDawajOPboBan" set player's current inventory's slot 22 to paper named "&cOszustNaHC12" with lore "&6Kliknij aby zmienic nick na &cOszustNaHC12" set player's current inventory's slot 23 to paper named "&cBestCheatFlux81" with lore "&6Kliknij aby zmienic nick na &cBestCheatFlux81" set player's current inventory's slot 24 to paper named "&cNajAdmin71TAK" with lore "&6Kliknij aby zmienic nick na &cNajAdmin71TAK" set player's current inventory's slot 25 to paper named "&c00AGENT00Wow" with lore "&6Kliknij aby zmienic nick na &c00AGENT00Wow" set player's current inventory's slot 28 to paper named "&cNaBrodeKripera1" with lore "&6Kliknij aby zmienic nick na &cNaBrodeKripera1" set player's current inventory's slot 29 to paper named "&cTylkoNiEBH70" with lore "&6Kliknij aby zmienic nick na &cTylkoNiEBH70" set player's current inventory's slot 30 to paper named "&cNieHAXnaPEwN0" with lore "&6Kliknij aby zmienic nick na &cNieHAXnaPEwN0" set player's current inventory's slot 31 to paper named "&cJesteKRIPERE01" with lore "&6Kliknij aby zmienic nick na &cJesteKRIPERE01" set player's current inventory's slot 32 to paper named "&cKtoHaxujeXD" with lore "&6Kliknij aby zmienic nick na &cKtoHaxujeXD" set player's current inventory's slot 33 to paper named "&cJestemPR021" with lore "&6Kliknij aby zmienic nick na &cJestemPR021" set player's current inventory's slot 34 to paper named "&cTfurcaSfiata" with lore "&6Kliknij aby zmienic nick na &cTfurcaSfiata" if clicked slot is 28: close player's inventory set {PrzemianaSkin::%player%} to "Treeee_" if clicked slot is 29: close player's inventory set {PrzemianaSkin::%player%} to "AliTheBoss1" if clicked slot is 30: close player's inventory set {PrzemianaSkin::%player%} to "iios_xx" if clicked slot is 31: close player's inventory set {PrzemianaSkin::%player%} to "Canuck1917" if clicked slot is 32: close player's inventory set {PrzemianaSkin::%player%} to "ItzAleeeh" if clicked slot is 33: close player's inventory set {PrzemianaSkin::%player%} to "Moscaa" if clicked slot is 34: close player's inventory set {PrzemianaSkin::%player%} to "iDqrker" if clicked slot is 40: if {PrzemianaAktywna::%player%} is true: close player's inventory set {HokusPokus::%player%} to false set {PrzemianaGotowa::%player%} to false set {PrzemianaNick::%player%} to "Brak" set {PrzemianaSkin::%player%} to "Brak" set {PrzemianaAktywna::%player%} to false set {PrzemianaNickChat::%player%} to false set {PrzemianaSkinChat::%player%} to false send "&6Opuszczono HokusPokus!" to player set player's display name to "%name of player%" set player's tablist name to "%name of player%" execute console command "/skin clear %player%" else: close player's inventory send "&6Nie jestes na hokuspokus!" to player if clicked slot is 39: if {PrzemianaGotowa::%player%} is true: close player's inventory set {PrzemianaAktywna::%player%} to true send "&6Jestes na HokusPokus!" to player send "&6Dane:" to player send "&6Nick: &c%{PrzemianaNick::%player%}%&6!" to player send "&6Skin: &c%{PrzemianaSkin::%player%}%&6!" to player set player's tablist name to "%{PrzemianaNick::%player%}%" set player's display name to "%{PrzemianaNick::%player%}%" execute console command "/skin set %player% %{PrzemianaSkin::%player%}%" else: close player's inventory send "&6Przemiana nie jest gotowa! Ustaw wszystkie dane!" to player if clicked slot is 11: close player's inventory if {PrzemianaSkinChat::%player%} is true: send "&6Juz wybierasz skina!" to player if {PrzemianaSkinChat::%player%} is not true: if {PrzemianaNickChat::%player%} is true: send "&6Juz wybierasz nick!" to player if {PrzemianaNickChat::%player%} is not true: send "&6Napisz nick na chacie!" to player set {PrzemianaNickChat::%player%} to true if clicked slot is 13: close player's inventory if {PrzemianaNickChat::%player%} is true: send "&6Juz wybierasz nick!" to player if {PrzemianaNickChat::%player%} is false: if {PrzemianaSkinChat::%player%} is true: send "&6Juz wybierasz skina!" to player if {PrzemianaSkinChat::%player%} is false: send "&6Napisz nick gracza ze skinem na chacie!" to player set {PrzemianaSkinChat::%player%} to true if inventory name of player's current inventory is "{@GUI2}": cancel event if clicked slot is 15: set {PrzemianaNick::%player%} to "HajsZaLas123" if clicked slot is 10: set {PrzemianaNick::%player%} to "JesteJutubere1" if clicked slot is 11: set {PrzemianaNick::%player%} to "PolskiNiemiec21" if clicked slot is 12: set {PrzemianaNick::%player%} to "HaxBardzo62" if clicked slot is 13: set {PrzemianaNick::%player%} to "MajkraftVertez" if clicked slot is 14: set {PrzemianaNick::%player%} to "PolishSpider69" if clicked slot is 16: set {PrzemianaNick::%player%} to "MeinePatyk121" if clicked slot is 19: set {PrzemianaNick::%player%} to "Misiu20" if clicked slot is 20: set {PrzemianaNick::%player%} to "Raper27HAHA" if clicked slot is 21: set {PrzemianaNick::%player%} to "DawajOPboBan" if clicked slot is 22: set {PrzemianaNick::%player%} to "OszustNaHC12" if clicked slot is 23: set {PrzemianaNick::%player%} to "BestCheatFlux81" if clicked slot is 24: set {PrzemianaNick::%player%} to "NajAdmin71TAK" if clicked slot is 25: set {PrzemianaNick::%player%} to "00AGENT00Wow" if clicked slot is 28: set {PrzemianaNick::%player%} to "NaBrodeKripera1" if clicked slot is 29: set {PrzemianaNick::%player%} to "TylkoNiEBH70" if clicked slot is 30: set {PrzemianaNick::%player%} to "NieHAXnaPEwN0" if clicked slot is 31: set {PrzemianaNick::%player%} to "JesteKRIPERE01" if clicked slot is 32: set {PrzemianaNick::%player%} to "KtoHaxujeXD" if clicked slot is 33: set {PrzemianaNick::%player%} to "JestemPR021" if clicked slot is 34: set {PrzemianaNick::%player%} to "TfurcaSfiata" on chat: if {PrzemianaSkinChat::%player%} is true: cancel event replace all " " in message with "" if length of message is less than 16: set {PrzemianaSkinChat::%player%} to false set {PrzemianaSkin::%player%} to "%message%" else: send "&6Maxymalna dlugosc to 15 liter!" if {PrzemianaNickChat::%player%} is true: cancel event replace all " " in message with "" if length of message is less than 16: set {PrzemianaNickChat::%player%} to false set {PrzemianaNick::%player%} to "%message%" else: send "&6Maxymalna dlugosc to 15 liter!" on quit: set {PrzemianaGotowa::%player%} to false set {PrzemianaNick::%player%} to "Brak" set {PrzemianaSkin::%player%} to "Brak" set {PrzemianaAktywna::%player%} to false set {PrzemianaNickChat::%player%} to false set {PrzemianaSkinChat::%player%} to false set player's display name to "%name of player%" set player's tablist name to "%name of player%" execute console command "/skin clear %player%"