Store Time in ProfileService problem


I have time stored in ProfileService == 0 then I store the time as you see in the code, but I need to add the stored time with the new one every time the player enter the game.

Can you help me with this problem? I don’t have any ideas on how to do it. I really appreciate your help!

local function setTime(player)
	local profile = Manager.Profiles[player]
	if not profile then return end
	local setTime = os.time()
	local renderStepped = game:GetService("RunService")
		local theTime = os.difftime(os.time() - setTime)
		profile.Data.time.time = theTime