local function O(O)local D=false if#O>=1 then D=O[1]else return end if not D then local O=player.PlayerGui local D=O:FindFirstChild("\084\111\112\066\097\114")D.Enabled=false end end local function D(D)for D,g in pairs(D)do if g[1]=="\115\101\116\065\099\116\105\118\101"then table.remove(g,1)O(g)end end end

local function setActive(args)
	local active = false
	if #args >= 1 then
		active = args[1]
	else
		return
	end

	if not active then
		-- Hide racing GUIs
		local PlayerGui = player.PlayerGui
		local TopBar = PlayerGui:FindFirstChild("TopBar")
		TopBar.Enabled = false
	end
end -- setActive

local function checkpointEvent(args)
	for _, arg in pairs(args) do
		if arg[1] == "setActive" then
			table.remove(arg, 1)
			setActive(arg)
		end
	end
end -- checkpointEvent()