If I understand it right I think you need a PlayerInteractEvent an BlockBreakEvent and a way its get the hour in seconds and compare the hour when interact and break Sorry for my bad english Regards!