Lua · Variables · Features

aim

Read the aimbot, and turn it on or off.

FunctionWhat it does
aim.enabled([on]) 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.

Arguments

onbooleanoptional
New 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).