Games IA ChatGPT 132 views

Authoritative-Server Weapon Framework for Roblox in Luau

roblox roblox studio luau weapon system shooter remoteevent anticheat game development
SCOPE

For Roblox developers building shooters and action games who want a weapon system that never relies on the client for damage, ammo, or hit detection. It works for both prototypes and production foundations, from beginner to advanced.

The prompt makes the AI act as a senior Roblox architect and deliver in three stages: a design with a per-weapon configuration table, Luau code separated by file (ModuleScripts, Scripts, LocalScripts, and RemoteEvents) with integration steps, and a test plan covering latency, security, and balance.

You provide the weapon types, hitscan or projectile, platforms, player count, and what already exists in your project. The AI delivers each part for you to test in Studio before you ask for the next. No API names are assumed: anything that depends on version or a Studio feature becomes a question or a stated assumption.

Content
Main prompt
Act as a software architect and senior Roblox (Luau) specialist. I want a modular, configurable weapon framework with an authoritative server: the server validates firing, damage, ammo, and reload, and the client handles only input, effects, and visual prediction.

Context:
- Genre and goal: [GENRE_AND_GOAL: e.g. team shooter, 8 vs 8]
- Desired weapons: [WEAPON_LIST: e.g. hitscan pistol, rifle, projectile launcher]
- Platforms: [PC/MOBILE/CONSOLE]
Sign in

Sign in to access this free prompt

Roblox · Luau · beta

Generated Luau script

Authoritative-Server Weapon Framework for Roblox in Luau

Related Prompts