Quick Start Guide

5 Mins

Deploy R Anti-Cheat into your Roblox experience in under 5 minutes with zero configuration.

# Overview

Getting started with R Anti-Cheat is designed to be seamless. The framework is pre-configured with safe production defaults suitable for most standard Roblox experiences (FPS, RPG, Obby, Simulators).

Follow this step-by-step guide to install, verify, and start monitoring your game.


# Step 1: Place Files into Your Experience

RAC relies on three core folder roots. Copy the respective modules into your project:

YourExperience.rbxl
├── ReplicatedStorage
│   └── RAC
│       ├── Config (config.luau)
│       └── Remotes (AdminRemotes, HoneypotRemotes)
├── ServerScriptService
│   └── RAC
│       ├── Init.server.luau
│       ├── Engine.luau
│       ├── DetectionEngine.luau
│       ├── HeuristicsEngine.luau
│       ├── PunishmentManager.luau
│       ├── RBACManager.luau
│       ├── StorageManager.luau
│       ├── DiscordIntegration.luau
│       └── Detectors/ (15 modules)
└── StarterPlayer
    └── StarterPlayerScripts
        └── RAC
            ├── Client.client.luau
            └── AdminUI/ (AdminApp.luau, Bento components)

# Step 2: Configure Your Owner UserID

Open src/ReplicatedStorage/RAC/Config.luau and add your Roblox UserID to the SuperAdmins or Admins list so you can open the Bento Admin Dashboard:

-- ReplicatedStorage/RAC/Config.luau
return {
    -- Admin & Moderation Access
    SuperAdmins = {
        [12345678] = true, -- Replace with your Roblox UserID
    },
    Admins = {
        [87654321] = true,
    },
    
    -- Default Enforcement Mode: "Monitor", "Kick", or "Ban"
    EnforcementMode = "Kick",
    
    -- Heuristics Confidence Threshold (0.0 to 1.0)
    AutoEnforceConfidence = 0.85,
}

# Step 3: Enable Studio API Access

In Roblox Studio:

  1. Navigate to Home > Game Settings.
  2. Select the Security tab on the left.
  3. Turn ON Enable Studio Access to API Services.
  4. Turn ON Allow HTTP Requests (required if using Discord alerts).
  5. Click Save.

# Step 4: Test in Studio Play Mode

Press F5 in Roblox Studio to start Play mode.

  1. Open the Developer Console (F9).
  2. Look for the RAC startup banner:
[RAC] Initializing R Anti-Cheat Server Engine v1.0.0...
[RAC] Loaded 15 Detection Modules successfully.
[RAC] Heuristics Engine running. Heartbeat loop active.
[RAC] Ready. Monitoring active sessions.
  1. Press F2 on your keyboard (or click the shield icon in the top-left) to mount and view the Roact Bento Admin Dashboard.

# Step 5: Verify Detection with a Safe Test

To confirm that RAC actively detects exploits without risking a ban, run this test in the Studio Command Bar during Play mode:

-- Simulate client physics speed anomaly
local player = game.Players.LocalPlayer
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
    player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(350, 0, 0)
end

Observe the console:

[RAC:Detection] [Teleport] Player 'Player1' moved 350.0 studs in 0.03s (Max: 28.0 studs).
[RAC:Heuristics] Violation score updated for Player1: Confidence 0.94 (High Risk).
[RAC:Enforcement] Enforcing rollback / kick on Player1 (Reason: Teleport Exploit).

# Next Steps