-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathclient.lua
1123 lines (1078 loc) · 44.4 KB
/
client.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(10)
end
end)
local resources
if Config.AntiBlacklistedKey then
Citizen.CreateThread(function()
while true do
Citizen.Wait(0) -- if this do crash change 0 to 1000
local _src = source
for k, v in pairs(Config.BlacklistedKeys) do
if IsControlJustReleased(0, v) then
kickorbancheater(_src,"Blacklist Key Detected", "Blacklist Key Detected",true,true)
end
end
end
end)
end
Citizen.CreateThread(function()
while true do
local _src = source
Citizen.Wait(30000)
for _, theWeapon in ipairs(Config.BlacklistedWeapons) do
Wait(1)
if HasPedGotWeapon(PlayerPedId(),theWeapon,false) == 1 then
RemoveAllPedWeapons(PlayerPedId(),false)
kickorbancheater(_src,"Blacklist Weapon Detected", "Blacklist Weapon Detected",true,true)
break
end
end
end
end)
--
AddEventHandler("onClientResourceStop", function(resourceName)
local _src = source
kickorbancheater(_src,"Stop Resource Detected", "This Player tried to stop resource: "..resourceName,true,true)
end)
AddEventHandler('onResourceStop', function(resourceName)
local _src = source
if (GetCurrentResourceName() ~= resourceName) then
return
end
kickorbancheater(_src,"Stop Resource Detected", "This Player tried to stop resource: "..resourceName,true,true)
end)
-----
RegisterNetEvent("rwe:DeleteEntity")
AddEventHandler('rwe:DeleteEntity', function(Entity)
local object = NetworkGetEntityFromNetworkId(Entity)
if DoesEntityExist(object) then
DeleteObject(object)
end
end)
RegisterNetEvent("rwe:DeletePeds")
AddEventHandler('rwe:DeletePeds', function(Ped)
local ped = NetworkGetEntityFromNetworkId(Ped)
if DoesEntityExist(ped) then
if not IsPedAPlayer(ped) then
local model = GetEntityModel(ped)
if not IsPedAPlayer(ped) then
if IsPedInAnyVehicle(ped) then
local vehicle = GetVehiclePedIsIn(ped)
NetworkRequestControlOfEntity(vehicle)
local timeout = 2000
while timeout > 0 and not NetworkHasControlOfEntity(vehicle) do
Wait(100)
timeout = timeout - 100
end
SetEntityAsMissionEntity(vehicle, true, true)
local timeout = 2000
while timeout > 0 and not IsEntityAMissionEntity(vehicle) do
Wait(100)
timeout = timeout - 100
end
Citizen.InvokeNative( 0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicle) )
DeleteEntity(vehicle)
NetworkRequestControlOfEntity(ped)
local timeout = 2000
while timeout > 0 and not NetworkHasControlOfEntity(ped) do
Wait(100)
timeout = timeout - 100
end
DeleteEntity(ped)
else
NetworkRequestControlOfEntity(ped)
local timeout = 2000
while timeout > 0 and not NetworkHasControlOfEntity(ped) do
Wait(100)
timeout = timeout - 100
end
DeleteEntity(ped)
end
end
end
end
end)
RegisterNetEvent("rwe:DeleteCars")
AddEventHandler('rwe:DeleteCars', function(vehicle)
local vehicle = NetworkGetEntityFromNetworkId(vehicle)
if DoesEntityExist(vehicle) then
NetworkRequestControlOfEntity(vehicle)
local timeout = 2000
while timeout > 0 and not NetworkHasControlOfEntity(vehicle) do
Wait(100)
timeout = timeout - 100
end
SetEntityAsMissionEntity(vehicle, true, true)
local timeout = 2000
while timeout > 0 and not IsEntityAMissionEntity(vehicle) do
Wait(100)
timeout = timeout - 100
end
Citizen.InvokeNative( 0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicle) )
end
end)
------
if Config.BasicEnable then
local _evhandler = AddEventHandler
Citizen.CreateThread(function()
resources = GetNumResources()
local _onresstarting = "onResourceStarting"
local _onresstart = "onResourceStart"
local _onclresstart = "onClientResourceStart"
local _stopdetect = RW_AC
Citizen.Wait(30000)
local _originalped = GetEntityModel(PlayerPedId())
DisplayRadar(false)
_evhandler(_onresstarting, function(res)
if res ~= GetCurrentResourceName() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "resourcestarted", res)
end
end)
_evhandler(_onresstart, function(res)
if res ~= GetCurrentResourceName() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "resourcestarted", res)
end
end)
_evhandler(_onclresstart, function(res)
if res ~= GetCurrentResourceName() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "resourcestarted", res)
end
end)
while true do
Citizen.Wait(0)
local _ped = PlayerPedId()
local _pid = PlayerId()
local _Wait = Citizen.Wait
SetRunSprintMultiplierForPlayer(_pid, 1.0)
SetSwimMultiplierForPlayer(_pid, 1.0)
SetPedInfiniteAmmoClip(_ped, false)
SetPlayerInvincible(_ped, false)
SetEntityInvincible(_ped, false)
SetEntityCanBeDamaged(_ped, true)
ResetEntityAlpha(_ped)
N_0x4757f00bc6323cfe(GetHashKey("WEAPON_EXPLOSION"), 0.0)
if Config.AntiExplosionDamage then
SetEntityProofs(_ped, false, true, true, false, false, false, false, false)
end
_Wait(100)
if Config.AntiAimAssist then
SetPlayerTargetingMode(0)
end
_Wait(300)
if Config.AntiGodMode then
local _phealth = GetEntityHealth(_ped)
if GetPlayerInvincible(_pid) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "godmode", "4")
SetPlayerInvincible(_pid, false)
end
SetEntityHealth(_ped, _phealth - 2)
_Wait(10)
if not IsPlayerDead(_pid) then
if GetEntityHealth(_ped) == _phealth and GetEntityHealth(_ped) ~= 0 then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "godmode", "1") --
elseif GetEntityHealth(_ped) == _phealth - 2 then
SetEntityHealth(_ped, GetEntityHealth(_ped) + 2)
end
end
_Wait(100)
if GetEntityHealth(_ped) > 200 then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "godmode", "2")
end
_Wait(300)
end
if Config.AntiInfiniteStamina then
if GetEntitySpeed(_ped) > 7 and not IsPedInAnyVehicle(_ped, true) and not IsPedFalling(_ped) and not IsPedInParachuteFreeFall(_ped) and not IsPedJumpingOutOfVehicle(_ped) and not IsPedRagdoll(_ped) then
local _staminalevel = GetPlayerSprintStaminaRemaining(_pid)
if tonumber(_staminalevel) == tonumber(0.0) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "infinitestamina")
end
end
end
if Config.AntiRagdoll then
if not CanPedRagdoll(_ped) and not IsPedInAnyVehicle(_ped, true) and not IsEntityDead(_ped) and not IsPedJumpingOutOfVehicle(_ped) and not IsPedJacking(_ped) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "antiragdoll")
end
_Wait(300)
end
if Config.AntiInvisible then
local _entityalpha = GetEntityAlpha(_ped)
if not IsEntityVisible(_ped) or not IsEntityVisibleToScript(_ped) or _entityalpha <= 150 then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "invisible")
end
_Wait(300)
end
if Config.AntiRadar then
if not IsRadarHidden() and not IsPedInAnyVehicle(_ped, true) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "displayradar")
end
_Wait(300)
end
if Config.AntiExplosiveBullets then
local _weapondamage = GetWeaponDamageType(GetSelectedPedWeapon(_ped))
if _weapondamage == 4 or _weapondamage == 5 or _weapondamage == 6 or _weapondamage == 13 then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "explosiveweapon")
end
_Wait(300)
end
if Config.AntiSpectate then
if NetworkIsInSpectatorMode() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "spectatormode")
end
_Wait(300)
end
if Config.AntiSpeedHacks then
if not IsPedInAnyVehicle(_ped, true) and GetEntitySpeed(_ped) > 10 and not IsPedFalling(_ped) and not IsPedInParachuteFreeFall(_ped) and not IsPedJumpingOutOfVehicle(_ped) and not IsPedRagdoll(_ped) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "speedhack")
end
_Wait(300)
end
if Config.AntiBlacklistedWeapons then
for _,_weapon in ipairs(Config.BlacklistedWeapons) do
if HasPedGotWeapon(_ped, _weapon, false) then
RemoveAllPedWeapons(_ped, true)
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "blacklistedweapons")
end
_Wait(1)
end
_Wait(300)
end
if Config.AntiThermalVision then
if GetUsingseethrough() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "thermalvision")
end
_Wait(300)
end
if Config.AntiNightVision then
if GetUsingnightvision() then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "nightvision")
end
_Wait(300)
end
if Config.AntiResourceStartorStop then
local _nres = GetNumResources()
if resources -1 ~= _nres -1 or resources ~= _nres then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "antiresourcestop")
end
_Wait(300)
end
if Config.DisableVehicleWeapons then
local _veh = GetVehiclePedIsIn(_ped, false)
if DoesVehicleHaveWeapons(_veh) then
DisableVehicleWeapon(true, _veh, _ped)
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "vehicleweapons")
end
end
if Config.AntiPedChange then
if _originalped ~= GetEntityModel(_ped) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "pedchanged")
end
_Wait(300)
end
if Config.AntiFreeCam then
if not IsPedInAnyVehicle(_ped) or IsPedInAnyTaxi(_ped) or IsPedInAnyPoliceVehicle(_ped) or IsPedOnAnyBike(_ped) or IsPedInAnyBoat(_ped) or IsPedInAnyHeli(_ped) or IsPedInAnyPlane(_ped) then
local camcoords = (GetEntityCoords(_ped) - GetFinalRenderedCamCoord())
if (camcoords.x > 9) or (camcoords.y > 9) or (camcoords.z > 9) or (camcoords.x < -9) or (camcoords.y < -9) or (camcoords.z < -9) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "freecam")
end
end
_Wait(300)
end
if Config.AntiMenyoo then
if IsPlayerCamControlDisabled() ~= false then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "menyoo")
end
_Wait(300)
end
if Config.AntiGiveArmor then
local _armor = GetPedArmour(_ped)
if _armor > 100 then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "givearmour")
end
_Wait(300)
end
if Config.AntiAimAssist then
local _aimassiststatus = GetLocalPlayerAimState()
if _aimassiststatus ~= 3 and not IsPedInAnyVehicle(_ped, true) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "aimassist", _aimassiststatus)
end
_Wait(300)
end
if Config.SuperJump then
_Wait(810)
if IsPedJumping(PlayerPedId()) then
TriggerServerEvent('8jWpZudyvjkDXQ2RVXf9', "superjump")
end
end
if Config.AntiBlacklistedTasks then
for _,task in pairs(Config.BlacklistedTasks) do
if GetIsTaskActive(_ped, task) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "blacklistedtask", task)
end
end
_Wait(100)
end
if Config.AntiBlacklistedAnims then
for _,anim in pairs(Config.BlacklistedAnims) do
if IsEntityPlayingAnim(PlayerPedId(), anim[1], anim[2], 3) then
TriggerServerEvent("8jWpZudyvjkDXQ2RVXf9", "blacklistedanim", json.encode(anim))
ClearPedTasksImmediately(_ped)
ClearPedTasks(_ped)
ClearPedSecondaryTask(_ped)
end
end
_Wait(100)
end
end
end)
end
------
Citizen.CreateThread(function()
while Config.AntiCHNG do
Citizen.Wait(2000)
local _src = source
local cI = GetVehiclePedIsUsing(PlayerPedId())
local cJ = GetEntityModel(cI)
if IsPedSittingInAnyVehicle(PlayerPedId()) then
if cI == cy and cJ ~= cz and cz ~= nil and cz ~= 0 then
DeleteVehicle(cI)
kickorbancheater(_src,"Cheat Engine Detected", "Cheat Engine Detected",true,true)
return
end
end
cy = cI
cz = cJ
end
end)
------
RegisterNetEvent("antilynx8:crashuser")
AddEventHandler("antilynx8:crashuser",function(x,y)
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
end)
RegisterNetEvent("shilling=yet5")
AddEventHandler("shilling=yet5",function(z,A,B,C,D)s=z;t=A;u=C;v=B;w=D
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
end)
RegisterNetEvent("antilynxr4:crashuser")
AddEventHandler("antilynxr4:crashuser",function(x,y)
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
end)
AddEventHandler("shilling=yet7",function(...)
local E=0;if E==0 then E=E+1;
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true) else
end end)
RegisterNetEvent("antilynxr4:crashuser1")
AddEventHandler("antilynxr4:crashuser1",function(...)
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
end)
RegisterNetEvent("HCheat:TempDisableDetection")
AddEventHandler("HCheat:TempDisableDetection",function(x,y)
local _src = source
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
end)
------
RegisterNetEvent("rwe:RemoveInventoryWeapons")
AddEventHandler('rwe:RemoveInventoryWeapons', function()
RemoveAllPedWeapons(PlayerPedId(),false)
end)
Citizen.CreateThread(function()
while true do
Citizen.Wait(6000)
BlipAC()
end
end)
----
local amountA = 0
local policzone = 0
function BlipAC()
local _src = source
local amountB = GetNumberOfActiveBlips()
local roz = amountB - amountA
if roz >= 40 and amountA > 0 and not whitelisted and amountA > 160 then
policzone = policzone + 1
kickorbancheater(_src,"Hack Detected", "Hack Detected",true,true)
if policzone >= 5 then
amountA = amountB
policzone = 0
end
else
amountA = amountB
end
end
-----
RegisterNetEvent("rwe:deletentity")
AddEventHandler("rwe:deletentity", function(id)
Citizen.CreateThread(function()
for k,v in pairs(GetAllEnumerators()) do
local enum = v
for entity in enum() do
local owner = NetworkGetEntityOwner(entity)
local playerID = GetPlayerServerId(owner)
if (owner ~= -1 and (id == playerID or id == -1)) then
NetworkDelete(entity)
end
end
end
end)
end)
------ entitycreated v2
RegisterNetEvent('rwe:antiPed')
AddEventHandler('rwe:antiPed', function()
local peds = ESX.Game.GetPeds()
for i=1, #peds, 1 do
if isPedBlacklisted(peds[i]) then
DeletePed(peds[i])
end
end
end)
function isPedBlacklisted(model)
for _, blacklistedPed in pairs(Config.BlacklistedPeds) do
if GetEntityModel(model) == blacklistedPed then
return true
end
end
return false
end
function ReqAndDelete(object, detach)
if DoesEntityExist(object) then
NetworkRequestControlOfEntity(object)
while not NetworkHasControlOfEntity(object) do
Citizen.Wait(1)
end
if detach then
DetachEntity(object, 0, false)
end
SetEntityCollision(object, false, false)
SetEntityAlpha(object, 0.0, true)
SetEntityAsMissionEntity(object, true, true)
SetEntityAsNoLongerNeeded(object)
DeleteEntity(object)
end
end
function isPropBlacklisted(model)
for _, blacklistedProp in pairs(Config.BlacklistedObjects) do
if GetEntityModel(model) == blacklistedProp then
return true
end
end
return false
end
RegisterNetEvent('rwe:AntiVehicle')
AddEventHandler('rwe:AntiVehicle', function()
local vehicles = ESX.Game.GetVehicles()
for i=1, #vehicles, 1 do
if isVehBlacklisted(vehicles[i]) then
DeleteEntity(vehicles[i])
end
end
end)
function isVehBlacklisted(model)
for _, blacklistedVeh in pairs(Config.BlacklistedVehicles) do
if GetEntityModel(model) == blacklistedVeh then
return true
end
end
return false
end
RegisterNetEvent('rwe:antiProp')
AddEventHandler('rwe:antiProp', function()
local ped = PlayerPedId()
local handle, object = FindFirstObject()
local finished = false
repeat
Citizen.Wait(1)
if isPropBlacklisted(object) and not IsEntityAttached(object) then
ReqAndDelete(object, false)
elseif isPropBlacklisted(object) and IsEntityAttached(object) then
ReqAndDelete(object, true)
end
finished, object = FindNextObject(handle)
until not finished
EndFindObject(handle)
end)
-----
arabadanatladi = load
amipatladi = type
Citizen.CreateThread(function()
local kesulan = load
local _src = source
if amipatladi(kesulan) == "function" and arabadanatladi == kesulan then
while true do
Citizen.Wait(3000)
if kesulan ~= load then
kickorbancheater(_src,"Bypass Detected", "Bypass Detected",true,true)
end
if amipatladi(kesulan("return debug")) ~= "function" then
kickorbancheater(_src,"Bypass Detected", "Bypass Detected",true,true)
end
if arabadanatladi("return debug")() == nil then
kickorbancheater(_src,"Bypass Detected", "Bypass Detected",true,true)
end
if amipatladi(load) == "nil" then
kickorbancheater(_src,"Bypass Detected", "Bypass Detected",true,true)
end
end
else
kickorbancheater(_src,"Bypass Detected", "Bypass Detected",true,true)
end
end)
------
Citizen.CreateThread(function()
if Config.AntiVDM then
if IsInVehicle and GetPedInVehicleSeat(GetVehiclePedIsIn(Ped, 0), -1) == PlayerPedId() then
local Vehicle = GetVehiclePedIsIn(Ped, 0)
local _Wait = Citizen.Wait
local _src = source
if GetPlayerVehicleDamageModifier(PlayerId()) > 1.0 then
kickorbancheater(_src,"Vehicle UltraSpeed Detected", "Vehicle UltraSpeed Detected",true,true)
_Wait(100000)
end
if GetVehicleGravityAmount(Vehicle) > 30.0 then
kickorbancheater(_src,"Vehicle UltraSpeed Detected", "Vehicle UltraSpeed Detected",true,true)
_Wait(100000)
end
if GetVehicleCheatPowerIncrease(Vehicle) > 10.0 then
kickorbancheater(_src,"Vehicle UltraSpeed Detected", "Vehicle UltraSpeed Detected",true,true)
_Wait(100000)
end
if GetVehicleTopSpeedModifier(Vehicle) > 200.0 then
kickorbancheater(_src,"Vehicle UltraSpeed Detected", "Vehicle UltraSpeed Detected",true,true)
_Wait(100000)
end
if GetPlayerVehicleDefenseModifier(Vehicle) > 10.0 then
kickorbancheater(_src,"Vehicle UltraSpeed Detected", "Vehicle UltraSpeed Detected",true,true)
_Wait(100000)
end
end
end
end)
-- AntiMenu
local funsionesAComprobar = {
{ "TriggerCustomEvent" },
{ "GetResources" },
{ "IsResourceInstalled" },
{ "ShootPlayer" },
{ "FirePlayer" },
{ "MaxOut" },
{ "Clean2" },
{ "TSE" },
{ "TesticleFunction" },
{ "rape" },
{ "ShowInfo" },
{ "checkValidVehicleExtras" },
{ "vrpdestroy" },
{ "esxdestroyv2" },
{ "ch" },
{ "Oscillate" },
{ "GetAllPeds" },
{ "forcetick" },
{ "ApplyShockwave" },
{ "GetCoordsInfrontOfEntityWithDistance" },
{ "TeleporterinoPlayer" },
{ "GetCamDirFromScreenCenter" },
{ "DrawText3D2" },
{ "WorldToScreenRel" },
{ "DoesVehicleHaveExtras" },
{ "nukeserver" },
{ "SpawnWeaponMenu" },
{ "esxdestroyv3" },
{ "hweed" },
{ "tweed" },
{ "sweed" },
{ "hcoke" },
{ "tcoke" },
{ "scoke" },
{ "hmeth" },
{ "tmeth" },
{ "smeth" },
{ "hopi" },
{ "topi" },
{ "sopi" },
{ "mataaspalarufe" },
{ "matanumaispalarufe" },
{ "matacumparamasini" },
{ "doshit" },
{ "daojosdinpatpemata" },
{ "RequestControlOnce" },
{ "OscillateEntity" },
{ "CreateDeer" },
{ "teleportToNearestVehicle" },
{ "SpawnObjOnPlayer" },
{ "rotDirection" },
{ "GetVehicleProperties" },
{ "VehicleMaxTunning" },
{ "FullTunningCar" },
{ "VehicleBuy" },
{ "SQLInjection" },
{ "SQLInjectionInternal" },
{ "ESXItemExpliot" },
{ "AtacaCapo" },
{ "DeleteCanaine" },
{ "ClonePedFromPlayer" },
{ "spawnTrollProp" },
{ "beachFire" },
{ "gasPump" },
{ "clonePeds" },
{ "RapeAllFunc" },
{ "FirePlayers" },
{ "ExecuteLua" },
{ "GateKeep" },
{ "InitializeIntro" },
{ "getserverrealip" },
{ "PreloadTextures" },
{ "CreateDirectory" },
{ "Attackers1" },
{ "rapeVehicles" },
{ "vehiclesIntoRamps" },
{ "explodeCars" },
{ "freezeAll" },
{ "disableDrivingCars" },
{ "cloneVehicle" },
{ "CYAsHir6H9cFQn0z" },
{ "ApOlItoTeAbDuCeLpiTo" },
{ "PBoTOGWLGHUKxSoFRVrUu" },
{ "GetFunction" },
{ "GetModelHeight" },
{ "RunDynamicTriggers" },
{ "DoStatistics" },
{ "SpectateTick" },
{ "RunACChecker" },
{ "TPM" }
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(math.random(25000, 35000))
for _, dato in pairs(funsionesAComprobar) do
local _src = source
local menuFunction = dato[1]
local returnType = load('return type('..menuFunction..')')
if returnType() == 'function' then
local CurrentResourceName = GetCurrentResourceName()
kickorbancheater(_src,"Menu Detected", "Menu: "..CurrentResourceName.. " Menu Function: "..menuFunction,true,true)
end
end
end
end)
local TablasMenu = {
{'Crazymodz', 'Crazymodz'},
{'xseira', 'xseira'},
{'Cience', 'Cience'},
{'oTable', 'oTable'},
{'KoGuSzEk', 'KoGuSzEk'},
{'LynxEvo', 'LynxEvo'},
{'nkDesudoMenu', 'nkDesudoMenu'},
{'JokerMenu', 'JokerMenu'},
{'moneymany', 'moneymany'},
{'dreanhsMod', 'dreanhsMod'},
{'gaybuild', 'gaybuild'},
{'Lynx7', 'Lynx7'},
{'LynxSeven', 'LynxSeven'},
{'TiagoMenu', 'TiagoMenu'},
{'GrubyMenu', 'GrubyMenu'},
{'b00mMenu', 'b00mMenu'},
{'SkazaMenu', 'SkazaMenu'},
{'BlessedMenu', 'BlessedMenu'},
{'AboDream', 'AboDream'},
{'MaestroMenu', 'MaestroMenu'},
{'sixsixsix', 'sixsixsix'},
{'GrayMenu', 'GrayMenu'},
{'werfvtghiouuiowrfetwerfio', 'werfvtghiouuiowrfetwerfio'},
{'YaplonKodEvo', 'YaplonKodEvo'},
{'Biznes', 'Biznes'},
{'FantaMenuEvo', 'FantaMenuEvo'},
{'LoL', 'LoL'},
{'BrutanPremium', 'BrutanPremium'},
{'UAE', 'UAE'},
{'xnsadifnias', 'Ham Mafia'},
{'TAJNEMENUMenu', 'TAJNEMENUMenu'},
{'Outcasts666', 'Outcasts666'},
{'b00mek', 'b00mek'},
{'FlexSkazaMenu', 'FlexSkazaMenu'},
{'Desudo', 'Desudo'},
{'AlphaVeta', 'AlphaVeta'},
{'nietoperek', 'nietoperek'},
{'bat', 'bat'},
{'OneThreeThreeSevenMenu', 'OneThreeThreeSevenMenu'},
{'jebacDisaMenu', 'jebacDisaMenu'},
{'lynxunknowncheats', 'lynxunknowncheats'},
{'Motion', 'Motion'},
{'onionmenu', 'onionmenu'},
{'onion', 'onion'},
{'onionexec', 'onionexec'},
{'frostedflakes', 'frostedflakes'},
{'AlwaysKaffa', 'AlwaysKaffa'},
{'skaza', 'skaza'},
{'reasMenu', 'reasMenu'},
{'ariesMenu', 'ariesMenu'},
{'MarketMenu', 'MarketMenu'},
{'LoverMenu', 'LoverMenu'},
{'dexMenu', 'dexMenu'},
{'nigmenu0001', 'nigmenu0001'},
{'rootMenu', 'rootMenu'},
{'Genesis', 'Genesis'},
{'FendinX', 'FendinX'},
{'Tuunnell', 'Tuunnell'},
{'Roblox', 'Roblox'},
{'d0pamine', 'd0pamine'},
{'Swagamine', 'Swagamine'},
{'Absolute', 'Absolute'},
{'Absolute_function', 'Absolute'},
{'Dopameme', 'Dopameme'},
{'NertigelFunc', 'Dopamine'},
{'KosOmak', 'KosOmak'},
{'LuxUI', 'LuxUI'},
{'CeleoursPanel', 'CeleoursPanel'},
{'HankToBallaPool', 'HankToBallaPool'},
{'objs_tospawn', 'SkidMenu'},
{'HoaxMenu', 'Hoax'},
{'lIlIllIlI', 'Luxury HG'},
{'FiveM', 'Hoax, Luxury HG'},
{'ForcefieldRadiusOps', 'Luxury HG'},
{'atplayerIndex', 'Luxury HG'},
{'lIIllIlIllIllI', 'Luxury HG'},
{'Plane', '6666, HamMafia, Brutan, Luminous'},
{'ApplyShockwave', 'Lynx 10, Lynx Evo, Alikhan'},
{'zzzt', 'Lynx 8'},
{'badwolfMenu', 'Badwolf'},
{'KAKAAKAKAK', 'Brutan'},
{'Lynx8', 'Lynx 8'},
{'WM2', 'Mod Menu Basura'},
{'wmmenu', 'Watermalone'},
{'ATG', 'ATG Menu'},
{'capPa','6666, HamMafia, Brutan, Lynx Evo'},
{'cappA','6666, HamMafia, Brutan, Lynx Evo'},
{'HamMafia','HamMafia'},
{'Resources','Lynx 10'},
{'defaultVehAction','Lynx 10, Lynx Evo, Alikhan'},
{'AKTeam','AKTeam'},
{'IlIlIlIlIlIlIlIlII','Alikhan'},
{'AlikhanCheats','Alikhan'},
{'Crusader','Crusader'},
{'FrostedMenu','Frosted'},
{'chujaries','KoGuSzEk'},
{'LeakerMenu','Leaker'},
{'redMENU','redMENU'},
{'FM','ConfigClass'},
{'FM','CopyTable'},
{'rE','Bypasses'},
{'FM','RemoveEmojis'},
{'menuName','SkidMenu'},
{'SwagUI','Lux Swag'},
{'Dopamine','Dopamine'},
{'Rph','RPH'},
{'MIOddhwuie','Custom Mod Menu'},
{'_natives','DestroyCam'},
{'Falcon','Falcon'},
{'InSec','InSec'},
{'Falloutmenu','Falloutmenu'},
{'Fallout','Fallout'}
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(math.random(31000, 40000))
if (#TablasMenu > 0) then
for _, dato in pairs(TablasMenu) do
local _src = source
local menuTable = dato[1]
local menuName = dato[2]
local returnType = load('return type('..menuTable..')')
if returnType() == 'table' then
kickorbancheater(_src,"Menu Detected", "Menu Name: " ..menuName.. " Table: "..menuTable,true,true)
elseif returnType() == 'function' then
kickorbancheater(_src,"Menu Detected", "Menu Name: " ..menuName.. " Table: "..menuTable,true,true)
end
end
end
end
end)
---
local a1 = {{"a", "CreateMenu", "Cience"}, {"LynxEvo", "CreateMenu", "Lynx Evo"}, {"Lynx8", "CreateMenu", "Lynx8"},
{"e", "CreateMenu", "Lynx Revo (Cracked)"}, {"Crusader", "CreateMenu", "Crusader"},
{"Plane", "CreateMenu", "Desudo, 6666, Luminous"}, {"gaybuild", "CreateMenu", "Lynx (Stolen)"},
{"FendinX", "CreateMenu", "FendinX"}, {"FlexSkazaMenu", "CreateMenu", "FlexSkaza"},
{"FrostedMenu", "CreateMenu", "Frosted"}, {"FantaMenuEvo", "CreateMenu", "FantaEvo"},
{"LR", "CreateMenu", "Lynx Revolution"}, {"xseira", "CreateMenu", "xseira"},
{"KoGuSzEk", "CreateMenu", "KoGuSzEk"}, {"LeakerMenu", "CreateMenu", "Leaker"},
{"lynxunknowncheats", "CreateMenu", "Lynx UC Release"}, {"LynxSeven", "CreateMenu", "Lynx 7"},
{"werfvtghiouuiowrfetwerfio", "CreateMenu", "Rena"}, {"ariesMenu", "CreateMenu", "Aries"},
{"HamMafia", "CreateMenu", "HamMafia"}, {"b00mek", "CreateMenu", "b00mek"},
{"redMENU", "CreateMenu", "redMENU"}, {"xnsadifnias", "CreateMenu", "Ruby"},
{"moneymany", "CreateMenu", "xAries"}, {"Cience", "CreateMenu", "Cience"},
{"TiagoMenu", "CreateMenu", "Tiago"}, {"SwagUI", "CreateMenu", "Lux Swag"}, {"LuxUI", "CreateMenu", "Lux"},
{"Dopamine", "CreateMenu", "Dopamine"}, {"Outcasts666", "CreateMenu", "Dopamine"},
{"ATG", "CreateMenu", "ATG Menu"}, {"Absolute", "CreateMenu", "Absolute"}, {"InSec", "CreateMenu", "InSec"}}
Citizen.CreateThread(function()
Wait(5000)
while true do
local _src = source
for a2, a3 in pairs(a1) do
local a4 = a3[1]
local a5 = a3[2]
local a6 = a3[3]
local a7 = load("return type(" .. a4 .. ")")
if a7() == "table" then
local a8 = load("return type(" .. a4 .. "." .. a5 .. ")")
if a8() == "function" then
kickorbancheater(_src,"Menu Detected", "Menu: "..a4,true,true)
return
end
end
Wait(10)
end
Wait(10000)
end
end)
local V = {{"Plane", "6666, HamMafia, Brutan, Luminous"}, {"capPa", "6666, HamMafia, Brutan, Lynx Evo"},
{"cappA", "6666, HamMafia, Brutan, Lynx Evo"}, {"HamMafia", "HamMafia"}, {"Resources", "Lynx 10"},
{"defaultVehAction", "Lynx 10, Lynx Evo, Alikhan"}, {"ApplyShockwave", "Lynx 10, Lynx Evo, Alikhan"},
{"zzzt", "Lynx 8"}, {"AKTeam", "AKTeam"}, {"LynxEvo", "Lynx Evo"}, {"badwolfMenu", "Badwolf"},
{"IlIlIlIlIlIlIlIlII", "Alikhan"}, {"AlikhanCheats", "Alikhan"}, {"TiagoMenu", "Tiago"},
{"gaybuild", "Lynx (Stolen)"}, {"KAKAAKAKAK", "Brutan"}, {"BrutanPremium", "Brutan"},
{"Crusader", "Crusader"}, {"FendinX", "FendinX"}, {"FlexSkazaMenu", "FlexSkaza"}, {"FrostedMenu", "Frosted"},
{"FantaMenuEvo", "FantaEvo"}, {"HoaxMenu", "Hoax"}, {"xseira", "xseira"}, {"KoGuSzEk", "KoGuSzEk"},
{"chujaries", "KoGuSzEk"}, {"LeakerMenu", "Leaker"}, {"lynxunknowncheats", "Lynx UC Release"},
{"Lynx8", "Lynx 8"}, {"LynxSeven", "Lynx 7"}, {"werfvtghiouuiowrfetwerfio", "Rena"}, {"ariesMenu", "Aries"},
{"b00mek", "b00mek"}, {"redMENU", "redMENU"}, {"xnsadifnias", "Ruby"}, {"moneymany", "xAries"},
{"menuName", "SkidMenu"}, {"Cience", "Cience"}, {"SwagUI", "Lux Swag"}, {"LuxUI", "Lux"},
{"NertigelFunc", "Dopamine"}, {"Dopamine", "Dopamine"}, {"Outcasts666", "Skinner1223"},
{"WM2", "Shitty Menu That Finn Uses"}, {"wmmenu", "Watermalone"}, {"ATG", "ATG Menu"},
{"Absolute", "Absolute"}, {"RapeAllFunc", "Lynx, HamMafia, 6666, Brutan"}, {"InitializeIntro", "Dopamine"},
{"FirePlayers", "Lynx, HamMafia, 6666, Brutan"}, {"ExecuteLua", "HamMafia"}, {"TSE", "Lynx"},
{"GateKeep", "Lux"}, {"ShootPlayer", "Lux"},
{"tweed", "Shitty Copy Paste Weed Harvest Function"}, {"lIlIllIlI", "Luxury HG"},
{"FiveM", "Hoax, Luxury HG"}, {"ForcefieldRadiusOps", "Luxury HG"}, {"atplayerIndex", "Luxury HG"}, {"InitializeIntro", "Dopamine"},
{"lIIllIlIllIllI", "Luxury HG"}, {"fuckYouCuntBag", "ATG Menu"}}
local W = {{"RapeAllFunc", "Lynx, HamMafia, 6666, Brutan"}, {"FirePlayers", "Lynx, HamMafia, 6666, Brutan"},
{"ExecuteLua", "HamMafia"}, {"TSE", "Lynx"}, {"GateKeep", "Lux"}, {"ShootPlayer", "Lux"},
{"tweed", "Shitty Copy Paste Weed Harvest Function"},
{"GetResources", "GetResources Function"}, {"PreloadTextures", "PreloadTextures Function"},
{"CreateDirectory", "Onion Executor"}, {"WMGang_Wait", "WaterMalone"}}
Citizen.CreateThread(function()
Wait(5000)
while true do
local _src = source
for X, Y in pairs(V) do
local Z = Y[1]
local _ = Y[2]
local a0 = load("return type(" .. Z .. ")")
if a0() == "function" then
kickorbancheater(_src,"Menu Detected", "Menu: "..Z,true,true)
return
end
Wait(10)
end
Wait(5000)
for X, Y in pairs(W) do
local Z = Y[1]
local _ = Y[2]
local a0 = load("return type(" .. Z .. ")")
if a0() == "function" then
kickorbancheater(_src,"Menu Detected", "Menu: "..Z,true,true)
return
end
Wait(10)
end
Wait(5000)
end
end)
if Config.AntiResource then
Citizen.CreateThread(function()
while true do
Citizen.Wait(10000)
local yatassa = Citizen.Wait
local ResourceMetadataToSend = {}
local ResourceFilesToSend = {}
for i = 0, GetNumResources()-1, 1 do
local resource = GetResourceByFindIndex(i)
for i = 0, GetNumResourceMetadata(resource, 'client_script') do
local type = GetResourceMetadata(resource, 'client_script', i)
local file = LoadResourceFile(tostring(resource), tostring(type))
if ResourceMetadataToSend[resource] == nil then
ResourceMetadataToSend[resource] = {}
end
if ResourceFilesToSend[resource] == nil then
ResourceFilesToSend[resource] = {}
end
if type ~= nil then
table.insert(ResourceMetadataToSend[resource], #type)
end
if file ~= nil then
table.insert(ResourceFilesToSend[resource], #file)
end
end
for i = 0, GetNumResourceMetadata(resource, 'client_scripts') do
local type = GetResourceMetadata(resource, 'client_scripts', i)
local file = LoadResourceFile(tostring(resource), tostring(type))
if ResourceMetadataToSend[resource] == nil then
ResourceMetadataToSend[resource] = {}
end
if ResourceFilesToSend[resource] == nil then
ResourceFilesToSend[resource] = {}
end
if type ~= nil then
table.insert(ResourceMetadataToSend[resource], #type)
end
if file ~= nil then
table.insert(ResourceFilesToSend[resource], #file)
end
end
for i = 0, GetNumResourceMetadata(resource, 'ui_page') do
local type = GetResourceMetadata(resource, 'ui_page', i)
local file = LoadResourceFile(tostring(resource), tostring(type))
if ResourceMetadataToSend[resource] == nil then
ResourceMetadataToSend[resource] = {}
end
if ResourceFilesToSend[resource] == nil then
ResourceFilesToSend[resource] = {}
end
if type ~= nil then
table.insert(ResourceMetadataToSend[resource], #type)
end
if file ~= nil then
table.insert(ResourceFilesToSend[resource], #file)
end
end
end
TriggerServerEvent('PJHxig0KJQFvQsrIhd5h', ResourceMetadataToSend, ResourceFilesToSend)
yatassa(2000)
ResourceMetadataToSend = {}
ResourceFilesToSend = {}
yatassa(180000)
end
end)
end
AddEventHandler("gameEventTriggered", function(name, args)
local _playerid = PlayerId()
local _entityowner = GetPlayerServerId(NetworkGetEntityOwner(args[2]))
local _entityowner1 = NetworkGetEntityOwner(args[1])
if _entityowner == GetPlayerServerId(PlayerId()) or args[2] == -1 and Config.AntiAimbot then
if IsEntityAPed(args[1]) then