local O=(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 X=game:GetService("\082\117\110\083\101\114\118\105\099\101")local w=O("\066\108\101\110\100")local G=O("\077\097\105\100")local m=O("\080\108\097\121\101\114\084\104\117\109\098\110\097\105\108\085\116\105\108\115")return function(O)local v=G.new()local k=Instance.new("\073\110\116\086\097\108\117\101")k.Value=4397833 v:GiveTask(k)local C=Instance.new("\066\111\111\108\086\097\108\117\101")C.Value=false v:GiveTask(C)local r=w.Dynamic(k,function(O)return m.promiseUserThumbnail(O)end)local c=w.Dynamic(k,function(O)return m.promiseUserName(O)end)local M=w.Spring(w.Computed(C,function(O)return O and 1 or 0 end),35)local a=w.Computed(M,function(O)return 1-O end)v:GiveTask(((w.New("\070\114\097\109\101"))({Parent=O,Name="\080\114\111\102\105\108\101\073\109\097\103\101",LayoutOrder=15;BackgroundTransparency=1,Size=UDim2.new(0,100,0,130),Position=UDim2.fromScale(.5,.5),AnchorPoint=Vector2.new(.5,.5),[w.Children]={(w.New("\085\073\083\099\097\108\101"))({Scale=w.Computed(M,function(O)return.8+.2*O end)}),(w.New("\084\101\120\116\076\097\098\101\108"))({Size=UDim2.new(1,0,0,30),Position=UDim2.new(.5,0,1,0),AnchorPoint=Vector2.new(.5,1),BackgroundTransparency=1;TextTransparency=a;TextColor3=Color3.new(1,1,1),TextSize=20,Font=Enum.Font.Gotham;Text=c});(w.New("\070\114\097\109\101"))({Position=UDim2.new(.5,0,0,0),AnchorPoint=Vector2.new(.5,0);Size=UDim2.new(1,0,1,0),BackgroundColor3=Color3.new(.2,.25,.2);BackgroundTransparency=a,[w.Children]={(w.New("\085\073\065\115\112\101\099\116\082\097\116\105\111\067\111\110\115\116\114\097\105\110\116"))({AspectRatio=1}),(w.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(1,0)}),(w.New("\085\073\080\097\100\100\105\110\103"))({PaddingLeft=UDim.new(0,2),PaddingRight=UDim.new(0,2),PaddingTop=UDim.new(0,2),PaddingBottom=UDim.new(0,2)});(w.New("\073\109\097\103\101\076\097\098\101\108"))({Size=UDim2.new(1,0,1,0),Image=r;BackgroundTransparency=a,ImageTransparency=a;BackgroundColor3=Color3.new(.1,.1,.1);[w.Children]={(w.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(1,0)})}})}})}})):Subscribe())local N=2 v:GiveTask(X.RenderStepped:Connect(function()C.Value=(os.clock()/N)%1<.5 end))local z=true v:GiveTask(function()z=false end)v:GiveTask(C.Changed:Connect(function()if not C.Value then task.delay(N/2,function()if z then k.Value=(Random.new()):NextInteger(1,1000000000.0)end end)end end))return function()v:DoCleaning()end end
--[[
	@class BlendTextbox.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")
local PlayerThumbnailUtils = require("PlayerThumbnailUtils")

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

	local userIdState = Instance.new("IntValue")
	userIdState.Value = 4397833
	maid:GiveTask(userIdState)

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

	local userImage = Blend.Dynamic(userIdState, function(userId)
		return PlayerThumbnailUtils.promiseUserThumbnail(userId)
	end)
	local userName = Blend.Dynamic(userIdState, function(userId)
		return PlayerThumbnailUtils.promiseUserName(userId)
	end)
	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")({
		Parent = target,
		Name = "ProfileImage",
		LayoutOrder = 15,
		BackgroundTransparency = 1,
		Size = UDim2.new(0, 100, 0, 130),
		Position = UDim2.fromScale(0.5, 0.5),
		AnchorPoint = Vector2.new(0.5, 0.5),
		[Blend.Children] = {
			Blend.New("UIScale")({
				Scale = Blend.Computed(percentVisible, function(percent)
					return 0.8 + 0.2 * percent
				end),
			}),

			Blend.New("TextLabel")({
				Size = UDim2.new(1, 0, 0, 30),
				Position = UDim2.new(0.5, 0, 1, 0),
				AnchorPoint = Vector2.new(0.5, 1),
				BackgroundTransparency = 1,
				TextTransparency = transparency,
				TextColor3 = Color3.new(1, 1, 1),
				TextSize = 20,
				Font = Enum.Font.Gotham,
				Text = userName,
			}),

			Blend.New("Frame")({
				Position = UDim2.new(0.5, 0, 0, 0),
				AnchorPoint = Vector2.new(0.5, 0),
				Size = UDim2.new(1, 0, 1, 0),
				BackgroundColor3 = Color3.new(0.2, 0.25, 0.2),
				BackgroundTransparency = transparency,
				[Blend.Children] = {
					Blend.New("UIAspectRatioConstraint")({
						AspectRatio = 1,
					}),
					Blend.New("UICorner")({
						CornerRadius = UDim.new(1, 0),
					}),
					Blend.New("UIPadding")({
						PaddingLeft = UDim.new(0, 2),
						PaddingRight = UDim.new(0, 2),
						PaddingTop = UDim.new(0, 2),
						PaddingBottom = UDim.new(0, 2),
					}),

					Blend.New("ImageLabel")({
						Size = UDim2.new(1, 0, 1, 0),
						Image = userImage,
						BackgroundTransparency = transparency,
						ImageTransparency = transparency,
						BackgroundColor3 = Color3.new(0.1, 0.1, 0.1),

						[Blend.Children] = {
							Blend.New("UICorner")({
								CornerRadius = UDim.new(1, 0),
							}),
						},
					}),
				},
			}),
		},
	})):Subscribe())

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

	local alive = true
	maid:GiveTask(function()
		alive = false
	end)
	maid:GiveTask(isVisible.Changed:Connect(function()
		if not isVisible.Value then
			task.delay(PERIOD / 2, function()
				if alive then
					userIdState.Value = Random.new():NextInteger(1, 1e9)
				end
			end)
		end
	end))

	return function()
		maid:DoCleaning()
	end
end
