local Y=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local s=game:GetService("\082\117\110\083\101\114\118\105\099\101")local Z={}local x=0 local b=Y:FindFirstChild("\083\101\114\118\101\114\084\105\109\101")if not b then b=Instance.new("\078\117\109\098\101\114\086\097\108\117\101")b.Name="\083\101\114\118\101\114\084\105\109\101"b.Parent=Y end local function J()b.Value=tick()-x end function Z.run()x=tick()J()s.Stepped:Connect(J)end


local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")

local ServerTime = {}

local _timeOffset = 0
local _serverTime = ReplicatedStorage:FindFirstChild("ServerTime")

if not _serverTime then
	_serverTime = Instance.new("NumberValue")
	_serverTime.Name = "ServerTime"
	_serverTime.Parent = ReplicatedStorage
end

local function _update()
	_serverTime.Value = tick() - _timeOffset
end

function ServerTime.run()
	_timeOffset = tick()
	_update()

	RunService.Stepped:Connect(_update)
end
