# ############################## # # 𝔸𝕦𝕥𝕠𝕣: ℂ𝕫𝕦𝕡𝕒𝕜𝕒𝕟 # # 𝕊𝕜𝕣𝕪𝕡𝕥: 𝕍𝕒𝕟𝕚𝕤𝕙 # # ℕ𝕒𝕫𝕨𝕒 𝕤𝕜𝕣𝕪𝕡𝕥𝕦: ℂ𝕜-𝕍𝕒𝕟𝕚𝕤𝕙.𝕤𝕜 # # 𝕎𝕖𝕣𝕤𝕛𝕒 𝕊𝕜𝕣𝕪𝕡𝕥𝕦: 𝟙.𝟘 # # ############################## # options: # ####################|Informacje|#################### # # Polecenia/komendy: # - /vanish (lub /v) #Włącza vanish'a # - /vanish reload #Przeładowuje skrypt # - /vanish info #Wyświetla informacje o skrypcie # - /vanish pomoc #Wyświetla pomocne informacje o skrypcie # Uprawnienia: # - vanish.ck # ####################|Ustawienia|#################### # 1: &cNie możesz tego zrobić! # - Wiadomość jeśli spróbujemy użyć vanish'a bez uprawnień 2: &7&l» &eStałeś się niewidzialny! # - Wiadomość wyświetlana na czacie po włączeniu vanish'a 3: &7&l» &eNie jesteś już niewidzialny! # - Wiadomość wyświetlana na czacie po wyłączeniu vanish'a 4: &6» &eJesteś niewidzialny dla innych graczy! &6« # - Wiadomość wyświetlana na action bar podczas korzystania z vanish'a 5: night vision # - Efekt który jest nadawany podczas korzystania z vanish'a 6: 1 # - Tryby wyglądu gracza na vanish'u: # 1. Gdy vanish włączony widzisz tylko główkę innych graczy będących na vanish'u # 2. Gdy vanish włączony widzisz całego skina innych graczy będących na vanish'u # 3. Gdy vanish włączony wszyscy gracze na vanish'u są dla siebie niewidoczni #[true] = Włącz #[false] = Wyłącz 7: false # - Podnoszenie przedmiotów z zmieni na vanish'u 8: true # - Budowanie i niszczenie bloków na vanish'u # ####################|Kod|###################### # command /vanish []: permission: vanish.ck permission message: {@1} aliases: /v executable by: player trigger: if arg 1 is "reload": execute player command "skript reload Ck-Vanish.sk" stop if arg 1 is "info": send "&7&l[&bV&7&l]&7&l==========| &eInfo &7&l|==========" to player send "&e| &7Autor: Czupakan" to player send "&e| &7Skrypt: Vanish" to player send "&e| &7Nazwa skryptu: Ck-Vanish.sk" to player send "&e| &7Wersja skryptu: 1.0" to player send "&e| &7Informacje o skrypcie możesz znaleźć w plikach" to player send "&7&l===========================" to player stop if arg 1 is "pomoc": send "&7&l[&bV&7&l]&7&l=============| &ePomoc &7&l|=============" to player send "&e| &7Polecenia:" to player send "&e| &7/vanish -Włącza vanish'a" to player send "&e| &7/vanish info -Wyświetla informacje o skrypcie" to player send "&e| &7/vanish reload -Przeładowuje skrypt" to player send "&e| &7Ustawienia skryptu możesz zmienić w plikach" to player send "&7&l===================================" to player stop if arg 1 is not set: if {vanished::players::*} doesn't contain player: remove player from {exitvanish::players::*} add player to {vanished::players::*} set {vanish::wyglad::%player%} to {@6} set {vanish::buildbreak} to {@8} set {podnoszenievanish.%player%} to {@7} send action bar "{@4}" to {vanished::players::*} reveal {vanished::players::*} to {vanished::players::*} hide {vanished::players::*} from {exitvanish::players::*} if {vanish::wyglad::%player%} is 1: hide player from all entities set {vanish::head} to true apply potion of invisibility without any particles to {vanished::players::*} for 30 minute add player's skull to the player's helmet if {vanish::wyglad::%player%} is 2: hide player from all entities if {vanish::wyglad::%player%} is 3: hide player from all entities apply potion of invisibility without any particles to {vanished::players::*} for 30 minute apply potion of {@5} without any particles to {vanished::players::*} for 30 minute send "{@2}" to player stop if {vanished::players::*} contains player: add player to {exitvanish::players::*} if {vanish::wyglad::%player%} is 1: remove invisibility from player clear player's helmet reveal player to all entities if {vanish::wyglad::%player%} is 2: reveal player to all entities if {vanish::wyglad::%player%} is 3: reveal player to all entities remove invisibility from player remove {@5} from player remove player from {vanished::players::*} send action bar "" to player send "{@3}" to player set {podnoszenievanish.%player%} to true set {vanish::buildbreak} to true set {vanish::head} to false every 2 second: send action bar "{@4}" to {vanished::players::*} reveal {vanished::players::*} to {vanished::players::*} hide {vanished::players::*} from {exitvanish::players::*} on inventory click: if {vanish::head} is true: if clicked slot is 39: cancel event on inventory close: if {vanish::head} is true: add player's skull to the player's helmet on respawn: if {vanish::head} is true: add player's skull to the player's helmet wait 1 second apply potion of invisibility without any particles to {vanished::players::*} for 30 minute on break: if {vanish::buildbreak} is false: cancel event on build: if {vanish::buildbreak} is false: cancel event on pickup: if {podnoszenievanish.%player%} is false: cancel event on death: if {vanished::players::*} is set: clear drops