Skip to content

Polytoria Executor Documentation

Welcome to the official documentation for Polytoria Executor (Polyhack v3). This documentation covers the Lua scripting environment, custom functions, and the internal architecture of the executor.

What is Polytoria Executor?

Polytoria Executor is a high-performance C++23 DLL designed for injection into Polytoria game processes. It bridges the gap between low-level Unity IL2CPP and the Lua scripting environment.

Core Philosophy

Reliability, Security, and Ease of Use.


  • Custom Lua Environment


    Extended Lua scripting with game-specific functions and a robust whitelist system.

    Lua Reference

  • ImGui UI Overlay


    Professional in-game menu accessed via DELETE key for script management and options.

    Getting Started

  • Network Interception


    Deep hooks into Mirror Networking for advanced packet capture and modification.

    Networking

  • Named Pipe Server


    Seamless integration with external tools via standard named pipe communication.

    External Tools


Quick Setup

📥 Download

You can download the latest version of Polytoria Executor (PolyHack) from the following sources:

  • Pre-built Binaries: Available in the .download/ directory of the repository.
  • Automated Builds: Check the GitHub Actions page for the latest successful workflow runs.
  • PolyLauncher: For a more automated experience, use PolyLauncher to manage your installation and launch the game with PolyHack pre-configured.

Installation

Step 1: Build (Optional)

If you wish to build from source, use xmake: xmake config -m release && xmake build

Step 2: Install

Copy the files from the .download/ directory into your game root.

Step 3: Inject

Run injector.exe or use version.dll proxying for automatic loading.

Step 4: Control

Press DELETE to toggle the UI overlay in-game.


Key Features at a Glance

Category Features
Tool Management equiptool, unequiptool, activatetool
Input Simulation Full mouse_* control and coordinate tracking
Visuals 2D Drawing API (Lines, Rects, Circles, Text)
Integration httpget requests and unified sendchat
Performance Multi-threaded design with thread-safe buffers

Architecture Highlights

  • Thread-Safe Design - Mutex-protected drawing buffers and safe thread handovers.
  • Whitelist Security - Granular control over which scripts can access custom APIs.
  • IL2CPP Reflection - Native Unity runtime inspection via UnityResolve.
  • Detours Hooking - Industrial-grade function interception using Microsoft Detours.