local R=nil;(coroutine.wrap(function()R=require((game.ReplicatedStorage:WaitForChild("\070\114\097\109\101\119\111\114\107")):WaitForChild("\076\105\098\114\097\114\121"))end))()return function(R,x)local K=nil local I=nil local t=nil local U=nil K=math.round(((R/60)/60)/24-.5)I=math.round(((R/60)/60)%24-.5)t=math.round((R/60)%60-.5)U=math.round(R%60)if x then if K>=1 then return K.."\100"elseif I>=1 then return I.."\104\114"elseif t>=1 then return t.."\109"else return U.."\115"end end local d if K>=1 then if K>1 then d=" \068\097\121\115"else d=" \068\097\121"end return K..d end local A if I>=1 then if I>1 then A=" \072\111\117\114\115"else A=" \072\111\117\114"end return I..A end local h if t>=1 then if t>1 then h=" \077\105\110\117\116\101\115"else h=" \077\105\110\117\116\101"end return t..h end local F if U>1 then F=" \083\101\099\111\110\100\115"else F=" \083\101\099\111\110\100"end return U..F end
--[[

	LOWGames Studios
	Date: 27 October 2022
	by Elder
	
]]
--

local u1 = nil
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"))
end)()
return function(p1, p2)
	local v1 = nil
	local v2 = nil
	local v3 = nil
	local v4 = nil
	v1 = math.round(p1 / 60 / 60 / 24 - 0.5)
	v2 = math.round(p1 / 60 / 60 % 24 - 0.5)
	v3 = math.round(p1 / 60 % 60 - 0.5)
	v4 = math.round(p1 % 60)
	if p2 then
		if v1 >= 1 then
			return v1 .. "d"
		elseif v2 >= 1 then
			return v2 .. "hr"
		elseif v3 >= 1 then
			return v3 .. "m"
		else
			return v4 .. "s"
		end
	end
	local v5
	if v1 >= 1 then
		if v1 > 1 then
			v5 = " Days"
		else
			v5 = " Day"
		end
		return v1 .. v5
	end
	local v6
	if v2 >= 1 then
		if v2 > 1 then
			v6 = " Hours"
		else
			v6 = " Hour"
		end
		return v2 .. v6
	end
	local v7
	if v3 >= 1 then
		if v3 > 1 then
			v7 = " Minutes"
		else
			v7 = " Minute"
		end
		return v3 .. v7
	end
	local v8
	if v4 > 1 then
		v8 = " Seconds"
	else
		v8 = " Second"
	end
	return v4 .. v8
end
