Roblox PvP System with Authoritative Server and Anti-Exploit
For Roblox developers building competitive games who want PvP that is fair, responsive, and hard to cheat. It works for both a prototype and a production system, and adapts its language to your technical level.
The prompt has the AI act as a senior Roblox software architect and deliver the system in three stages: rules, controls, and authority model; client/server architecture with the core Luau code; and latency testing, balancing, and telemetry. It covers weapons, hit detection, damage, states, respawn, teams, ranking, and validated RemoteEvents.
Fill in the bracketed fields with your genre, platforms, player count, and what you already have ready. Ask for one stage at a time, test in Studio with more than one player, and only then move on to the next.
Act as a software architect and senior Roblox (Luau) specialist, focused on secure, modular, high-performance PvP. I'm designing a PvP system for: [GOAL: e.g., 5v5 arena with projectile weapons]. Platforms: [PC/MOBILE/CONSOLE]. Players per server: [QUANTITY]. Technical level: [BEGINNER/INTERMEDIATE/ADVANCED]. The server must be authoritative: every remote input is validated, and the client never decides damage, health, or ranking.