Lua · Variables · Features
aim
Read the aimbot, and turn it on or off.
| Function | What it does |
|---|---|
aim.enabled([on]) settings | Returns whether the aimbot is on. Pass true or false to change it. |
aim.target() | The player the aimbot is locked on, or nil. |
aim.info() | What the aimbot is doing this frame. |
#aim.enabled
aim.enabled([on])Returns whether the aimbot is on. Pass true or false to change it.
Changing a value needs the settings permission (Change settings). Without it the call returns the current value and logs
needs permission: settings once. How permissions workArguments
onbooleanoptionalNew state. Needs the settings permission.
Returns
boolean
State after the call.
Example
if input.key_pressed(0x76) then aim.enabled(not aim.enabled()) end#aim.target
aim.target()The player the aimbot is locked on, or nil.
Returns
player | nil
Basic player table.
#aim.info
aim.info()What the aimbot is doing this frame.
Returns
table
active (boolean), hitchance (number), damage (number), blocked (boolean or reason).