Save the time when the player last tapped the sign in a database. Get the time with time(). PHP: if(time() - $lastTapTime >= 86400){ // execute the function of clicking the sign}