local y=(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat return function(J,K)local l=tick()+(K and 10)local d=nil d=y:Connect(function()if l<=tick()then d:Disconnect()d=nil if J then if J.Destroy then pcall(J.Destroy,J)return end if J.destroy then pcall(J.destroy,J)return end if J.Disconnect then pcall(J.Disconnect,J)return end if J.disconnect then pcall(J.disconnect,J)end end end end)return nil end
-- Decompiled with the Synapse X Luau decompiler.

local l__Heartbeat__1 = game:GetService("RunService").Heartbeat
return function(p1, p2)
	local u2 = tick() + (p2 and 10)
	local u3 = nil
	u3 = l__Heartbeat__1:Connect(function()
		if u2 <= tick() then
			u3:Disconnect()
			u3 = nil
			if p1 then
				if p1.Destroy then
					pcall(p1.Destroy, p1)
					return
				end
				if p1.destroy then
					pcall(p1.destroy, p1)
					return
				end
				if p1.Disconnect then
					pcall(p1.Disconnect, p1)
					return
				end
				if p1.disconnect then
					pcall(p1.disconnect, p1)
				end
			end
		end
	end)
	return nil
end
