Help with making daily quests reset at a specific time

Hello! Today I’m working on a daily quest script, but I’ve came across a problem. The problem being that I have no knowledge of using os.time or, I’d also like to add that I’m making a daily quest that resets at 12am every day for every player and not just 24 hours after they claimed the daily quest

Plenty of resources are out and available within the Developer Forum. YouTube might even have some tutorials as well, including the Developer Hub:

Simple to learn notes on time() / tick(), For animation or movement scripts and so forth - Resources / Community Tutorials - DevForum | Roblox
The Ultimate os, time, and tick Tutorial! - Resources / Community Tutorials - DevForum | Roblox