So im trying to code a lua for a csgo related software but for some reason its giving me this error
Exception has occurred: attempt to index a nil value (global 'cheat')
stack traceback:
c:/Users/trist/Desktop/prediction.lua:3: in main chunk
[C]: in ?
--Hope
local checkhitbox = {0,11,12,13,14}
local username = cheat.GetCheatUserName()
local ideal_yaw
local right_side
local left_side
local dt_charging
print("" .. username .. " if you have any questions feel free to dm kib1336#1030")
print("" .. username .. " if you have any suggestion or found any bug feel free to join our discord! : https://discord.gg/pJ5WpMV")
local version = "1643"
--This is the start of the code for the lua