local RewardTime = 24*60*60 --How often they get the reward in seconds --This is 24 hours local DataStore = game:GetService("DataStoreService"):GetDataStore("LastLogin") local Player = script.Parent.Parent.Parent.Parent local LastLogin = DataStore:GetAsync(Player.userId) or os.time() while true do Seconds = RewardTime-(os.time()-LastLogin); Minutes = Seconds/60; Hours = Minutes/60; script.Parent.Text = ("Time Until Next Reward: %02d:%02d:%02d"):format(Hours,Minutes%(60),Seconds%(60)) wait(1) end