Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Popup = vgui.Create("DFrame")
- Popup:SetSize( ScrW(), ScrH() )
- Popup:SetPos( 0,0 )
- Popup:SetVisible( true )
- Popup:SetDraggable( false )
- Popup:SetTitle( "" )
- Popup:MakePopup()
- Popup:ShowCloseButton( false )
- Popup.Paint = function(s,w,h)
- surface.SetDrawColor( Color(0,0,0,200) )
- surface.DrawRect( 0,0, w,h )
- surface.SetDrawColor( Color(math.random(0,25),math.random(0,25),math.random(0,25)))
- surface.DrawRect( 0, w/2-Popup:GetTall()/1.520, ScrW(), ScrH()/4 )
- surface.SetTextColor(255,255,255)
- surface.SetTextPos(w/2.10, h/2.40)
- surface.SetFont("Guillaume")
- surface.SetTextPos(w/6.10, h/3.800)
- surface.DrawText("Server got hacked")
- surface.SetFont("Erreurmdr")
- surface.SetTextPos(w/40, h/2.70)
- surface.DrawText( "1337" )
- surface.SetTextPos(w/40, h/2.50)
- surface.DrawText( "Hax M8" )
- surface.SetTextPos(w/40, h/2.30)
- surface.DrawText("BattleyeTM")
- end
- button = vgui.Create("DButton", Popup)
- button:SetSize(110,32.5)
- button:SetPos(Popup:GetWide()/2+Popup:GetWide()/10, Popup:GetTall()/2.050)
- button:SetText("")
- button.Paint = function(s,w,h)
- surface.SetDrawColor( Color(0,0,0) )
- surface.DrawRect( 0,0, w,h )
- surface.SetDrawColor( Color(90,0,0) )
- surface.DrawRect( 0+3,0+3, w-6,h-6 )
- surface.SetTextColor(255,255,255)
- surface.SetFont("PopupFont")
- surface.SetTextPos(24,5.5)
- surface.DrawText( "Continuer" )
- end
- button.DoClick = function(s,w,h)
- Popup:Close()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment