return function()local U=(game:GetService("\080\108\097\121\101\114\115")).LocalPlayer.PlayerGui local k=require(game.ReplicatedStorage.Roact)local function z(U)local z=U.time return k.createElement("\083\099\114\101\101\110\071\117\105",nil,{Main=k.createElement("\084\101\120\116\076\097\098\101\108",{Size=UDim2.new(0,400,0,300),Position=UDim2.new(.5,0,.5,0),AnchorPoint=Vector2.new(.5,.5),Text="\084\104\101 \099\117\114\114\101\110\116 \116\105\109\101 \105\115\058 "..z})})end local d=true local m=0 local a=k.mount(k.createElement(z,{time=m}),U)spawn(function()while d do m=m+1 a=k.reconcile(a,k.createElement(z,{time=m}))wait(1)end end)local function r()d=false k.unmount(a)end return r end
return function()
	local PlayerGui = game:GetService("Players").LocalPlayer.PlayerGui

	local Roact = require(game.ReplicatedStorage.Roact)

	local function ClockApp(props)
		local time = props.time

		return Roact.createElement("ScreenGui", nil, {
			Main = Roact.createElement("TextLabel", {
				Size = UDim2.new(0, 400, 0, 300),
				Position = UDim2.new(0.5, 0, 0.5, 0),
				AnchorPoint = Vector2.new(0.5, 0.5),
				Text = "The current time is: " .. time,
			}),
		})
	end

	local running = true
	local currentTime = 0
	local handle = Roact.mount(
		Roact.createElement(ClockApp, {
			time = currentTime,
		}),
		PlayerGui
	)

	spawn(function()
		while running do
			currentTime = currentTime + 1

			handle = Roact.reconcile(
				handle,
				Roact.createElement(ClockApp, {
					time = currentTime,
				})
			)

			wait(1)
		end
	end)

	local function stop()
		running = false
		Roact.unmount(handle)
	end

	return stop
end
