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 S=game:GetService("\082\117\110\083\101\114\118\105\099\101")local T=o("\066\108\101\110\100")local i=o("\077\097\105\100")local k=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 W=i.new()local m=Instance.new("\073\110\116\086\097\108\117\101")m.Value=4397833 W:GiveTask(m)local D=Instance.new("\066\111\111\108\086\097\108\117\101")D.Value=false W:GiveTask(D)local y=T.Dynamic(m,function(o)return k.promiseUserThumbnail(o)end)local G=T.Dynamic(m,function(o)return k.promiseUserName(o)end)local g=T.Spring(T.Computed(D,function(o)return o and 1 or 0 end),35)local R=T.Computed(g,function(o)return 1-o end)W:GiveTask(((T.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),[T.Children]={(T.New("\085\073\083\099\097\108\101"))({Scale=T.Computed(g,function(o)return.8+.2*o end)});(T.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=R,TextColor3=Color3.new(1,1,1);TextSize=20,Font=Enum.Font.Gotham;Text=G});(T.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=R,[T.Children]={(T.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});(T.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(1,0)}),(T.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)});(T.New("\073\109\097\103\101\076\097\098\101\108"))({Size=UDim2.new(1,0,1,0);Image=y,BackgroundTransparency=R;ImageTransparency=R;BackgroundColor3=Color3.new(.1,.1,.1);[T.Children]={(T.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(1,0)})}})}})}})):Subscribe())local X=2 W:GiveTask(S.RenderStepped:Connect(function()D.Value=(os.clock()/X)%1<.5 end))local B=true W:GiveTask(function()B=false end)W:GiveTask(D.Changed:Connect(function()if not D.Value then task.delay(X/2,function()if B then m.Value=(Random.new()):NextInteger(1,1000000000.0)end end)end end))return function()W:DoCleaning()end end


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
