-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame_client.lua
118 lines (113 loc) · 4.85 KB
/
game_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
local game_client = {}
do -- Client Collector
local garbage = getgc(true)
local loaded_modules = getloadedmodules()
for i = 1, #garbage do
local v = garbage[i]
if typeof(v) == "table" then
if rawget(v, "send") and rawget(v, "fetch") then -- Networking Module
game_client.network = v
elseif rawget(v, 'goingLoud') and rawget(v, 'isInSight') then -- Useful for Radar Hack or Auto Spot
game_client.spotting_interface = v
elseif rawget(v, 'setMinimapStyle') and rawget(v, 'setRelHeight') then -- Useful for Radar Hack
game_client.radar_interface = v
elseif rawget(v, "getCharacterModel") and rawget(v, 'popCharacterModel') then -- Used for Displaying other Characters
game_client.third_person_object = v
elseif rawget(v, "getCharacterObject") then -- Used for sending LocalPlayer Character Data to Server
game_client.character_interface = v
elseif rawget(v, "isSprinting") and rawget(v, "getArmModels") then -- Used for sending LocalPlayer Character Data to Server
game_client.character_object = v
elseif rawget(v, "updateReplication") and rawget(v, "getThirdPersonObject") then -- This represents a "Player" separate from their character
game_client.replication_object = v
elseif rawget(v, "setHighMs") and rawget(v, "setLowMs") then -- Same as above
game_client.replication_interface = v
elseif rawget(v, 'setSway') and rawget(v, "_applyLookDelta") then -- You can modify camera values with this
game_client.main_camera_object = v
elseif rawget(v, 'getActiveCamera') and rawget(v, "getCameraType") then -- You can modify camera values with this
game_client.camera_interface = v
elseif rawget(v, 'getFirerate') and rawget(v, "getFiremode") then -- Weapon Stat Hooks
game_client.firearm_object = v
elseif rawget(v, 'canMelee') and rawget(v, "_processMeleeStateChange") then -- Melee Stat Hooks
game_client.melee_object = v
elseif rawget(v, 'canCancelThrow') and rawget(v, "canThrow") then -- Grenade Stat Hooks
game_client.grenade_object = v
elseif rawget(v, "vote") then -- Useful for Auto Vote
game_client.votekick_interface = v
elseif rawget(v, "getActiveWeapon") then -- Useful for Auto Vote
game_client.weapon_controller_object = v
elseif rawget(v, "getController") then -- Useful for getting your current weapon
game_client.weapon_controller_interface = v
elseif rawget(v, "updateVersion") and rawget(v, "inMenu") then -- Useful for chat spam :)
game_client.chat_interface = v
elseif rawget(v, "trajectory") and rawget(v, "timehit") then -- Useful for calculating trajectory of bullets for ragebot, aimbot, and silent aim (Note: This table is frozen, use setreadonly)
game_client.physics = v
elseif rawget(v, "slerp") and rawget(v, "toanglesyx") then -- Useful for angles (Note: This table is frozen, use setreadonly)
game_client.vector = v
end
end
end
for i = 1, #loaded_modules do
local v = loaded_modules[i]
if v.Name == "PlayerSettingsInterface" then -- I use this for dynamic fov
game_client.player_settings = require(v)
elseif v.Name == "PublicSettings" then -- Get world data from here
game_client.public_settings = require(v)
elseif v.Name == "particle" then -- Useful for silent aim
game_client.particle = require(v)
elseif v.Name == "BulletCheck" then -- Wall Penetration for ragebot
game_client.bullet_check = require(v)
end
end
end
--[[
All PF Network Commands (No Arguments)
aim
breakwindow
bullethit
capturedogtag
captureflag
changeAttachment
changeClass
changeModeVote
changePlayerSetting
changeTagColor
changeWeapon
chatted
debug
equip
falldamage
forcereset
getammo
knifehit
logmessage
modcmd
newbullets
newgrenade
perfdump
ping
purchaseCaseAssign
purchaseCaseCredit
purchaseCaseKeyCredit
purchaseCredits
purchaseTag
registerfunc
reload
repupdate
requestMultiRoll
requestRoll
requestTradeRoll
resetAttachments
sellSkin
spawn
spotplayer
sprint
squadspawnupdate
stab
stance
suppressionassist
swapweapon
teleportwithdata
togglesquadspawn
updatesight
votefromUI
]]