local v={}local C="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\052\057\057\055\051\049\049\051\057"local H=.15 local N=3 function v.DisplayFullScreenMessage(L,v)local M=Instance.new("\083\099\114\101\101\110\071\117\105")M.Parent=(game:GetService("\080\108\097\121\101\114\115")).LocalPlayer:WaitForChild("\080\108\097\121\101\114\071\117\105")local k=Instance.new("\073\109\097\103\101\076\097\098\101\108")k.SizeConstraint="\082\101\108\097\116\105\118\101\089\089"k.Position=UDim2.new(.5,0,.5,0)k.AnchorPoint=Vector2.new(.5,.5)k.BackgroundTransparency=1 k.Size=UDim2.new(0,0,0,0)k.Image=C k.Parent=M local E=Instance.new("\070\114\097\109\101")E.Size=UDim2.new(0,0,H,0)E.Position=UDim2.new(.5,0,.8,0)E.AnchorPoint=Vector2.new(.5,0)E.BackgroundTransparency=1 E.ClipsDescendants=true E.Parent=k local Z=Instance.new("\084\101\120\116\076\097\098\101\108")Z.Size=UDim2.new(14*(.1/H),0,1,0)Z.Position=UDim2.new(.5,0,0,0)Z.AnchorPoint=Vector2.new(.5,0)Z.SizeConstraint="\082\101\108\097\116\105\118\101\089\089"Z.BackgroundTransparency=1 Z.Font="\083\111\117\114\099\101\083\097\110\115\066\111\108\100"Z.TextColor3=Color3.new(1,1,1)Z.TextStrokeColor3=Color3.new(0,0,0)Z.TextStrokeTransparency=0 Z.TextScaled=true Z.Text=v Z.Parent=E k:TweenSize(UDim2.new(.6,0,.6,0),"\073\110\079\117\116","\081\117\097\100",.5,true,function()E:TweenSize(UDim2.new(1.4,0,H,0),"\073\110\079\117\116","\081\117\097\100",.5,true,function()wait(N)E:TweenSize(UDim2.new(0,0,H,0),"\073\110\079\117\116","\081\117\097\100",.5,true,function()k:TweenSize(UDim2.new(0,0,0,0),"\073\110\079\117\116","\081\117\097\100",.5,true,function()M:Destroy()end)end)end)end)end return v


local MessageCreator = {}

local LogoURL = "http://www.roblox.com/asset/?id=1499731139"
local MessageHeightRelative = 0.15
local MessageDisplayTime = 3

function MessageCreator:DisplayFullScreenMessage(Message)
	local ScreenGui = Instance.new("ScreenGui")
	ScreenGui.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
	
	local Logo = Instance.new("ImageLabel")
	Logo.SizeConstraint = "RelativeYY"
	Logo.Position = UDim2.new(0.5,0,0.5,0)
	Logo.AnchorPoint = Vector2.new(0.5,0.5)
	Logo.BackgroundTransparency = 1
	Logo.Size = UDim2.new(0,0,0,0)
	Logo.Image = LogoURL
	Logo.Parent = ScreenGui
	
	local TextClips = Instance.new("Frame")
	TextClips.Size = UDim2.new(0,0,MessageHeightRelative,0)
	TextClips.Position = UDim2.new(0.5,0,0.8,0)
	TextClips.AnchorPoint = Vector2.new(0.5,0)
	TextClips.BackgroundTransparency = 1
	TextClips.ClipsDescendants = true
	TextClips.Parent = Logo
	
	local Text = Instance.new("TextLabel")
	Text.Size = UDim2.new(14 * (0.1 / MessageHeightRelative),0,1,0)
	Text.Position = UDim2.new(0.5,0,0,0)
	Text.AnchorPoint = Vector2.new(0.5,0)
	Text.SizeConstraint = "RelativeYY"
	Text.BackgroundTransparency = 1
	Text.Font = "SourceSansBold"
	Text.TextColor3 = Color3.new(1,1,1)
	Text.TextStrokeColor3 = Color3.new(0,0,0)
	Text.TextStrokeTransparency = 0
	Text.TextScaled = true
	Text.Text = Message
	Text.Parent = TextClips
		
	Logo:TweenSize(UDim2.new(0.6,0,0.6,0),"InOut","Quad",0.5,true,function()
		TextClips:TweenSize(UDim2.new(1.4,0,MessageHeightRelative,0),"InOut","Quad",0.5,true,function()
			wait(MessageDisplayTime)
			TextClips:TweenSize(UDim2.new(0,0,MessageHeightRelative,0),"InOut","Quad",0.5,true,function()
				Logo:TweenSize(UDim2.new(0,0,0,0),"InOut","Quad",0.5,true,function()
					ScreenGui:Destroy()
				end)
			end)
		end)
	end)
end

return MessageCreator
