local e=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local V=e:WaitForChild("\114\097\100\105\111\083\104\097\114\101\100")local l=require(V:WaitForChild("\070\117\115\105\111\110"))local t,S,o=l.New,l.Children,l.OnEvent return function(e)return(t("\070\114\097\109\101"))({Name="\084\111\112\098\097\114";Size=UDim2.fromScale(1,.173),BackgroundColor3=Color3.fromRGB(30,30,30),BorderSizePixel=0,AnchorPoint=Vector2.new(.5,0),Position=UDim2.fromScale(.5,0),[S]={UICorner=(t("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(0,10)});Frame=(t("\070\114\097\109\101"))({Name="\067\111\118\101\114",Size=UDim2.new(1,0,0,10),BackgroundColor3=Color3.fromRGB(30,30,30);BorderSizePixel=0,AnchorPoint=Vector2.new(.5,1);Position=UDim2.fromScale(.5,1);ZIndex=0});(t("\084\101\120\116\066\117\116\116\111\110"))({Name="\084\105\116\108\101",Size=UDim2.fromScale(.2,1),BackgroundTransparency=1;AnchorPoint=Vector2.new(0,0),Position=UDim2.fromScale(.01,0);Text="\082\097\100\105\111";FontFace=Font.new("\114\098\120\097\115\115\101\116\058\047\047\102\111\110\116\115\047\102\097\109\105\108\105\101\115\047\065\114\105\097\108\046\106\115\111\110",Enum.FontWeight.Bold,Enum.FontStyle.Normal),TextScaled=true;TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Left,[o("\065\099\116\105\118\097\116\101\100")]=function()e.visible:set(false)end}),(t("\084\101\120\116\066\117\116\116\111\110"))({Name="\080\097\110\105\099";Size=UDim2.fromScale(.2,.55),BackgroundColor3=Color3.fromRGB(200,0,0),AnchorPoint=Vector2.new(1,.5);Position=UDim2.fromScale(.83,.5),AutoButtonColor=true;Text="\080\097\110\105\099";FontFace=Font.new("\114\098\120\097\115\115\101\116\058\047\047\102\111\110\116\115\047\102\097\109\105\108\105\101\115\047\065\114\105\097\108\046\106\115\111\110",Enum.FontWeight.Regular,Enum.FontStyle.Normal);TextScaled=true;TextColor3=Color3.fromRGB(255,255,255);TextXAlignment=Enum.TextXAlignment.Center;[S]={UICorner=(t("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(.25,0)})}});(t("\073\109\097\103\101\066\117\116\116\111\110"))({Name="\067\104\097\116";Size=UDim2.fromScale(.05,.6);BackgroundTransparency=1;AnchorPoint=Vector2.new(1,.5),Position=UDim2.fromScale(.911,.5);Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\053\049\054\050\053\051\053\054\057";ImageColor3=Color3.fromRGB(255,0,0),ScaleType=Enum.ScaleType.Fit}),(t("\073\109\097\103\101\066\117\116\116\111\110"))({Name="\077\105\099";Size=UDim2.fromScale(.05,.6),BackgroundTransparency=1,AnchorPoint=Vector2.new(1,.5);Position=UDim2.fromScale(.975,.5),Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\053\049\054\050\050\054\054\055\052";ImageColor3=Color3.fromRGB(255,0,0);ScaleType=Enum.ScaleType.Fit})}})end
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local shared = ReplicatedStorage:WaitForChild("radioShared")
local Fusion = require(shared:WaitForChild("Fusion"))

local New, Children, OnEvent = Fusion.New, Fusion.Children, Fusion.OnEvent

return function(props)
	return New("Frame")({
		Name = "Topbar",
		Size = UDim2.fromScale(1, 0.173),
		BackgroundColor3 = Color3.fromRGB(30, 30, 30),
		BorderSizePixel = 0,
		AnchorPoint = Vector2.new(0.5, 0),
		Position = UDim2.fromScale(0.5, 0),

		[Children] = {
			UICorner = New("UICorner")({
				CornerRadius = UDim.new(0, 10),
			}),

			Frame = New("Frame")({
				Name = "Cover",
				Size = UDim2.new(1, 0, 0, 10),
				BackgroundColor3 = Color3.fromRGB(30, 30, 30),
				BorderSizePixel = 0,
				AnchorPoint = Vector2.new(0.5, 1),
				Position = UDim2.fromScale(0.5, 1),
				ZIndex = 0,
			}),

			New("TextButton")({
				Name = "Title",
				Size = UDim2.fromScale(0.2, 1),
				BackgroundTransparency = 1,
				AnchorPoint = Vector2.new(0, 0),
				Position = UDim2.fromScale(0.01, 0),

				Text = "Radio",
				FontFace = Font.new(
					"rbxasset://fonts/families/Arial.json",
					Enum.FontWeight.Bold,
					Enum.FontStyle.Normal
				),
				TextScaled = true,
				TextColor3 = Color3.fromRGB(255, 255, 255),
				TextXAlignment = Enum.TextXAlignment.Left,

				[OnEvent("Activated")] = function()
					props.visible:set(false)
				end,
			}),

			New("TextButton")({
				Name = "Panic",
				Size = UDim2.fromScale(0.2, 0.55),
				BackgroundColor3 = Color3.fromRGB(200, 0, 0),
				AnchorPoint = Vector2.new(1, 0.5),
				Position = UDim2.fromScale(0.83, 0.5),
				AutoButtonColor = true,

				Text = "Panic",
				FontFace = Font.new(
					"rbxasset://fonts/families/Arial.json",
					Enum.FontWeight.Regular,
					Enum.FontStyle.Normal
				),
				TextScaled = true,
				TextColor3 = Color3.fromRGB(255, 255, 255),
				TextXAlignment = Enum.TextXAlignment.Center,

				[Children] = {
					UICorner = New("UICorner")({
						CornerRadius = UDim.new(0.25, 0),
					}),
				},
			}),

			New("ImageButton")({
				Name = "Chat",
				Size = UDim2.fromScale(0.05, 0.6),
				BackgroundTransparency = 1,
				AnchorPoint = Vector2.new(1, 0.5),
				Position = UDim2.fromScale(0.911, 0.5),
				Image = "rbxassetid://16516253569",
				ImageColor3 = Color3.fromRGB(255, 0, 0),
				ScaleType = Enum.ScaleType.Fit,
			}),

			New("ImageButton")({
				Name = "Mic",
				Size = UDim2.fromScale(0.05, 0.6),
				BackgroundTransparency = 1,
				AnchorPoint = Vector2.new(1, 0.5),
				Position = UDim2.fromScale(0.975, 0.5),
				Image = "rbxassetid://16516226674",
				ImageColor3 = Color3.fromRGB(255, 0, 0),
				ScaleType = Enum.ScaleType.Fit,
			}),
		},
	})
end
