Roblox Studio Setup
StudioDirect installation and setup of R Anti-Cheat directly inside Roblox Studio.
# Overview
You can install R Anti-Cheat directly within Roblox Studio without external command-line tools. This guide walks you through importing the source folders, verifying service placements, and starting the engine.
# Direct Folder Structure
Ensure your Explorer window mirrors the following structure:
ReplicatedStorage
└── RAC
├── Config
└── Remotes (auto-generated if missing)
ServerScriptService
└── RAC
├── Init.server.luau (Script)
├── Engine.luau (ModuleScript)
├── DetectionEngine.luau (ModuleScript)
├── HeuristicsEngine.luau (ModuleScript)
├── PunishmentManager.luau (ModuleScript)
├── RBACManager.luau (ModuleScript)
├── StorageManager.luau (ModuleScript)
├── DiscordIntegration.luau (ModuleScript)
└── Detectors (Folder)
├── SpeedDetector.luau
├── FlyDetector.luau
├── TeleportDetector.luau
├── NoclipDetector.luau
├── JumpDetector.luau
├── CombatReachDetector.luau
├── DamageRateDetector.luau
├── WallbangDetector.luau
├── WalkSpeedTamperDetector.luau
├── GodModeDetector.luau
├── RemoteRateLimiter.luau
├── RemotePayloadInspector.luau
├── EconomyRateDetector.luau
├── InventoryOverflowDetector.luau
└── HoneypotDetector.luau
StarterPlayer
└── StarterPlayerScripts
└── RAC
├── Client.client.luau (LocalScript)
└── AdminUI
├── Roact.luau
├── AdminApp.luau
└── Components
├── DashboardDial.luau
├── SpatialRadar.luau
├── FlowRibbons.luau
└── VelocityTrend.luau
# Verifying ServerScript Execution
In Roblox, scripts in ServerScriptService run automatically when the server starts. Init.server.luau performs the following automated steps upon boot:
- Remote Provisioning: Checks
ReplicatedStorage.RAC.Remotes. IfAdminRemoteor honeypots are missing, the server creates secureRemoteFunctionandRemoteEventinstances automatically. - Detector Registration: Dynamically scans
ServerScriptService.RAC.Detectorsand registers each detector withDetectionEngine. - Heartbeat Attachment: Hooks batched spatial simulation to
RunService.Heartbeat. - Player Listener Attachment: Subscribes to
Players.PlayerAddedandPlayers.PlayerRemovingto manage session records, token buckets, and historical state buffers.
# Studio Test Run
Press F5 to start testing. You should see the following logs in your Output window:
[RAC:Init] Starting R Anti-Cheat Server Engine...
[RAC:Init] Discovered 15 detection modules in Detectors/.
[RAC:Storage] Connected to DataStore 'RAC_Punishments_v1'.
[RAC:Engine] Attached 15 detectors to RunService.Heartbeat.
[RAC:Engine] Server Engine initialized in 4.2ms.
If you see these logs, your Studio setup is complete and fully functional.
# Next Steps
- Want to manage code in Git? See the Rojo Workflow Guide.
- Or review the Manual Installation Guide for troubleshooting file paths.