on script load: delete {timeToGiveKey::*} wait 5 tick set {timeToGiveKey::1} to "10:00" set {timeToGiveKey::2} to "17:00" set {timeToGiveKey::3} to "22:00" every 30 seconds: set {_n} to "%now%" set {_n} to 5 last characters of {_n} loop {timeToGiveKey::*}: if {_n} is loop-value: loop all players: execute console command "crates givekey EpickaSkrzynia %loop-player%"