return function()local z=Instance.new("\083\099\114\101\101\110\071\117\105")z.Name="\083\111\102\116\083\104\117\116\100\111\119\110\071\117\105"z.DisplayOrder=100 local y=Instance.new("\070\114\097\109\101")y.BackgroundColor3=Color3.new(.188235,.188235,.188235)y.Position=UDim2.new(-0.5,0,-0.5,0)y.Size=UDim2.new(2,0,2,0)y.ZIndex=10 y.Parent=z local function H(z,H,d)local m=Instance.new("\084\101\120\116\076\097\098\101\108")m.BackgroundTransparency=1 m.Size=z m.Position=H m.Text=d m.ZIndex=10 m.Font="\083\111\117\114\099\101\083\097\110\115\066\111\108\100"m.TextScaled=true m.TextColor3=Color3.new(1,1,1)m.TextStrokeColor3=Color3.new(0,0,0)m.TextStrokeTransparency=0 m.Parent=y end H(UDim2.new(.5,0,.1,0),UDim2.new(.25,0,.4,0),"\083\072\085\084\068\079\087\078")H(UDim2.new(.5,0,.05,0),UDim2.new(.25,0,.475,0),"\084\104\105\115 \115\101\114\118\101\114 \105\115 \115\104\117\116\116\105\110\103 \100\111\119\110\046")H(UDim2.new(.5,0,.03,0),UDim2.new(.25,0,.55,0),"\080\108\101\097\115\101 \119\097\105\116 \119\104\105\108\101 \119\101 \116\101\108\101\112\111\114\116 \121\111\117 \116\111 \097 \110\101\119 \115\101\114\118\101\114\046")return z,y end


return function()
	local ScreenGui = Instance.new("ScreenGui")
	ScreenGui.Name = "SoftShutdownGui"
	ScreenGui.DisplayOrder = 100
	
	--Create background to cover behind top bar.
	local Frame = Instance.new("Frame")
	Frame.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
	Frame.Position = UDim2.new(-0.5,0,-0.5,0)
	Frame.Size = UDim2.new(2,0,2,0)
	Frame.ZIndex = 10
	Frame.Parent = ScreenGui
	
	local function CreateTextLabel(Size,Position,Text)
		local TextLabel = Instance.new("TextLabel")
		TextLabel.BackgroundTransparency = 1
		TextLabel.Size = Size
		TextLabel.Position = Position
		TextLabel.Text = Text
		TextLabel.ZIndex = 10
		TextLabel.Font = "SourceSansBold"
		TextLabel.TextScaled = true
		TextLabel.TextColor3 = Color3.new(1,1,1)
		TextLabel.TextStrokeColor3 = Color3.new(0,0,0)
		TextLabel.TextStrokeTransparency = 0
		TextLabel.Parent = Frame
	end
	
	--Create text.
	CreateTextLabel(UDim2.new(0.5,0,0.1,0),UDim2.new(0.25,0,0.4,0),"SHUTDOWN")
	CreateTextLabel(UDim2.new(0.5,0,0.05,0),UDim2.new(0.25,0,0.475,0),"This server is shutting down.")
	CreateTextLabel(UDim2.new(0.5,0,0.03,0),UDim2.new(0.25,0,0.55,0),"Please wait while we teleport you to a new server.")
	
	--Return the ScreenGui and the background.
	return ScreenGui,Frame		
end
