variables: {sekundy::%player%} = 0 {minuty::%player%} = 0 {godziny::%player%} = 0 {z-sekundy::%player%} = false {z-minuty::%player%} = false {z-godziny::%player%} = false on join: set {z-sekundy::%player%} to true set {z-minuty::%player%} to true set {z-godziny::%player%} to true stop every 5 seconds: loop all players: if {sekundy::%loop-player%} is bigger than 60: remove 61 from {sekundy::%loop-player%} stop if {minuty::%loop-player%} is bigger than 60: remove 61 from {minuty::%loop-player%} stop every 1 second: loop all players: if {z-sekundy::%loop-player%} is true: add 1 to {sekundy::%loop-player%} stop every 60 seconds: loop all players: if {z-minuty::%loop-player%} is true: add 1 to {minuty::%loop-player%} stop every 3600 seconds: loop all players: if {z-godziny::%loop-player%} is true: add 1 to {godziny::%loop-player%} stop on quit: set {z-sekundy::%player%} to false set {z-minuty::%player%} to false set {z-godziny::%player%} to false stop command /czas []: trigger: send "&aSpedziles tyle czasu na serwerze:" send "&7Godziny: &6%{godziny::%player%}%" send "&7Minuty: &6%{minuty::%player%}%" send "&7Sekundy: &6%{sekundy::%player%}%" send "&4&oJezeli chcesz odebrac nagrody, wpisz &7/nagrody" stop command /nagrody []: trigger: open chest with 1 row named "&e&lNAGRODY" to player format slot 0 of player with diamond named "&e&lVIP" with lore "&6Musisz miec spedzone 15 minut!" to close then run [execute player command "/vip-czas1"] stop command /vip-czas1 []: trigger: if {minuty::%player%} is bigger than 15: execute console command "/pex user %player% group set VIP" remove 15 from {minuty::%player%} send "&7Pomyslnie wymieniles!" stop else: send "&cNie posiadasz odpowiedniej ilosci czasu!"