BindableFunction Decoupled API
DecoupledDecoupled server communication via ServerScriptService.RAC_API for third-party scripts.
# Overview
If your game architecture uses microservices or third-party frameworks (such as Knit, AGF, or legacy scripts) that cannot easily require RAC's internal ModuleScripts, RAC exposes a decoupled BindableFunction API located at:
game.ServerScriptService.RAC_API
# Supported Commands
Invoke RAC_API:Invoke(command: string, ...):
local RAC_API = game.ServerScriptService:WaitForChild("RAC_API") :: BindableFunction
# 1. ValidateHit
local isValid, approvedDamage = RAC_API:Invoke("ValidateHit", attacker, targetChar, 50, "Melee")
# 2. AddExemption
RAC_API:Invoke("AddExemption", player, "GrappleHookSkill", 2.0)
# 3. GetRiskScore
local riskScore = RAC_API:Invoke("GetRiskScore", player)
# 4. BanPlayer
RAC_API:Invoke("BanPlayer", targetUserId, "SpeedExploit1", "Flying in lobby", 86400, "Automated Moderator")
# Next Steps
- Check out the Game Integration Guides.
- Learn about Creating Custom Detectors.