Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Console
Copy Markdown
Open in ChatGPT
Open in Claude
Orbit doesn't work like internal cheats do when it comes to printing to the console. You cannot use the following code to write something into the menu console.
print("Hello World!") --this will not work
Orbit has its own console in the lua tab. Here's an example of how you write into it.
Print("Hello World!") --this will work
The console will not exceed 100 string elements, however, if you'd like to use the console interface for something cool like interacting with the user, you can try the following.
Clear() --clear any previous logs
Print("[ BestLua.XYZ ] - Lua successfully loaded!") --this makes the lua feel much more premium
The "Print" function only accepts strings as an argument. You cannot pass it a number and hope it will convert it to a string automatically. You can use the built in "tostring" function to convert the arguments into strings.
Print(123 + 456) --this will not work
Print(tostring(123 + 456)) --this will work
Last updated on
Was this page helpful?
Next to read:
Entitiesnull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message