Menu

The way you interact with Orbit's menu is a little bit different from other cheats. You cannot just create a checkbox by itself.

Lua
Copy

You need to reserve space in memory for the menu element beforehand, so it won't cause any bugs. This avoids reallocation, improves performance, and makes sure the pointers are stable throughout the lifetime of the script. This function is deprecated as of Orbit V9.5.8, menu element creation is handled by Orbit automatically.

Lua
Copy

You also cannot create a menu element twice with the same name. If you do, they'll be treated as the same element, which will cause more bugs to occur.

Lua
Copy

On top of that, since Orbit V5.9.5 luas must be separated into their own tab. This is done by getting the name of each lua file and formatting it, which Orbit does for you. Due to a sol limitation, the file name must be returned from the script itself.

Lua
Copy
CheckBox
SliderInt
SliderFloat
ColorPicker
CreateDropDown
CreateText
CreateKeyBind
Copy
Lua
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
GetCheckBox
GetSliderInt
GetSliderFloat
GetColorPicker
GetDropDown
GetKeyBind
Copy
Lua
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard