Lua Functions Reference
Complete reference for all custom Lua functions available in the Polytoria Executor.
The custom functions are categorized into specific modules to help you find what you need.
Core Functions
Functions for script execution, environment management, and identification.
Tool Functions
Everything related to tool management, equipping, and activation.
Interaction Functions
Chat and other game-world interaction tools.
Input Functions
Direct mouse simulation and cursor control, including the Input singleton.
Drawing Functions
A powerful overlay drawing library for HUDs and visual aids.
Networking Functions
Functions for interacting with networked game objects and NetMessage.
HTTP Functions
Tools for external communication via web requests.
Complete Example Script
Error Handling
Error Handling
All functions return error messages as strings when invalid arguments are provided. Always check return types during development.