local R=(require(((game:GetService("\083\101\114\118\101\114\083\099\114\105\112\116\083\101\114\118\105\099\101")):FindFirstChild("\076\111\097\100\101\114\085\116\105\108\115",true)).Parent)).load(script)local j=game:GetService("\082\117\110\083\101\114\118\105\099\101")local h=R("\066\108\101\110\100")local q=R("\077\097\105\100")return function(R)local y=q.new()local b=Instance.new("\066\111\111\108\086\097\108\117\101")b.Value=false local P=h.Spring(h.Computed(b,function(R)return R and 1 or 0 end),35)local v=h.Computed(P,function(R)return 1-R end)y:GiveTask(((h.New("\070\114\097\109\101"))({Size=UDim2.new(.5,0,.5,0);BackgroundColor3=Color3.new(.9,.9,.9);AnchorPoint=Vector2.new(.5,.5);Position=UDim2.new(.5,0,.5,0),BackgroundTransparency=v,Parent=R,[h.Children]={(h.New("\085\073\083\099\097\108\101"))({Scale=h.Computed(P,function(R)return.8+.2*R end)});(h.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(.05,0)})}})):Subscribe())local z=5 y:GiveTask(j.RenderStepped:Connect(function()b.Value=(os.clock()/z)%1<.5 end))return function()y:DoCleaning()end end
--[[
	@class Blend.story
]]

local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).load(script)

local RunService = game:GetService("RunService")

local Blend = require("Blend")
local Maid = require("Maid")

return function(target)
	local maid = Maid.new()

	local isVisible = Instance.new("BoolValue")
	isVisible.Value = false

	local percentVisible = Blend.Spring(
		Blend.Computed(isVisible, function(visible)
			return visible and 1 or 0
		end),
		35
	)

	local transparency = Blend.Computed(percentVisible, function(percent)
		return 1 - percent
	end)

	maid:GiveTask((Blend.New("Frame")({
		Size = UDim2.new(0.5, 0, 0.5, 0),
		BackgroundColor3 = Color3.new(0.9, 0.9, 0.9),
		AnchorPoint = Vector2.new(0.5, 0.5),
		Position = UDim2.new(0.5, 0, 0.5, 0),
		BackgroundTransparency = transparency,
		Parent = target,

		[Blend.Children] = {
			Blend.New("UIScale")({
				Scale = Blend.Computed(percentVisible, function(percent)
					return 0.8 + 0.2 * percent
				end),
			}),
			Blend.New("UICorner")({
				CornerRadius = UDim.new(0.05, 0),
			}),
		},
	})):Subscribe())

	local PERIOD = 5
	maid:GiveTask(RunService.RenderStepped:Connect(function()
		isVisible.Value = os.clock() / PERIOD % 1 < 0.5
	end))

	return function()
		maid:DoCleaning()
	end
end
