#PRACA KONKURSOWA!!!!! #autor: Ganq #wersja: 1.0 #czas pracy: 3 dni #pluginy: Skript, Wild Skript. #opis: Skrypt na god-mode który chroni przed wszystkim #najlepiej stosować na minecraft 1.7.10 i 1.8 #Pozdrowionka options: logo: &7[&1I2God&aMode&7]&8&l>> command /igod []: description: "&4Wlacza niesmiertelnosc!" permission: "igod.*" permission message: "&cNie masz uprawnień do tej komendy!" trigger: if {god.%player%} is not set send "{@logo}Gratulacje wlaczyles pierwszy raz &2God&aMode&1!" execute console command "effect %player% saturation 10000000 155 true" execute console command "effect %player% instant_healf 2 155 true" set {god.%player%} to true else: set {_x} to random integer from 1 to 30 loop {_x} times: if {_x} is set: if {god.%player%} is false: send "{@logo}&2GodMode wlaczony!" execute console command "effect %player% saturation 10000000 155 true" execute console command "effect %player% instant_healf 2 155 true" set {god.%player%} to true set {_y} to random integer from 1 to 2 clear {_x} if {_x} is set: if {_y} is not set: if {god.%player%} is true: send "{@logo}&2GodMode wlaczony!" execute console command "effect %player% clear" set {god.%player%} to false set {_y} to random integer from 1 to 2 clear {_x} else: exit loop else: exit loop if {god.%player%} is true: send "{@logo}&cGodMode wylaczony!" execute console command "effect %player% clear" set {god.%player%} to true set {_y} to random integer from 1 to 2 clear {_x} if {_x} is set: if {_y} is not set: if {god.%player%} is true: send "{@logo}&2GodMode wlaczony!" execute console command "effect %player% saturation 10000000 155 true" execute console command "effect %player% instant_healf 2 155 true" set {god.%player%} to false set {_y} to random integer from 1 to 2 clear {_x} else: exit loop else: exit loop on damege: if {god.%player%} is true #Chroni nawet przed komenda /kill cancel event