command /aop []: permission: aop.admin permission message: &4Nie masz pozwolenia do tej komendy! trigger: if arg 1 is not set: send "&6&l===== &cAOP &6&l=====" send "&eKomendy:" send "&7/AOP 1" send "&7/AOP 0" send "&7/AOP 2" send "&7/AOP 3" send "&eInformacje:" send "&a0. &cTryb Niesmiertelny" send "&a1. &cTryb Kreatywny" send "&a2. &cTryb Survivalowy" send "&a3. &cTryb Niewidzialny" send "&7Aby uzyc wpisz" send "&7/AOP &c<0-3>" if arg 1 is "0": set {god.%victim%} to true loop 25 times: send " " send "&7Ustawiono tryb gry na &cNiesmiertelny!" if arg 1 is "1": execute console command "gamemode 1 %player%" loop 25 times: send " " send "&7Ustawiono tryb gry na &cKreatywny!" if arg 1 is "2": execute console command "gamemode 0 %player%" loop 25 times: send " " send "&7Ustawiono tryb gry na &cSurvival!" if arg 1 is "3": set {inv.%player%} to true loop 25 times: send " " send "&7Ustawiono tryb gry na &cNiewidzialny!" on damage: if {god.%victim%} is true: cancel event else: stop every 1 seconds: loop all players: if {inv.%loop-player%} is true: apply invisiblity to the loop-player for 99999 seconds else: remove invisiblity from the loop-player