Games IA ChatGPT 287 views

Safe Melee Combat with Hitbox, Animation, and Cooldown

roblox luau lua combat melee hitbox security remoteevent
SCOPE

Generate a professional melee combat implementation for Roblox with target detection through spatial hitbox using GetPartBoundsInBox and OverlapParams. The system correctly separates responsibilities between client and server: the client handles input and responsive animation, while the server validates attacks, range, cooldown, and applies damage to the Humanoid.

Ideal for developers who need a secure, extensible base ready to paste into Roblox Studio. The prompt requests a complete architecture with LocalScript, server Script, and configuration ModuleScript, including installation guidance, RemoteEvent, character filtering, and multiplayer testing instructions.

Content
Main prompt
Act as a senior Roblox developer specialized in Luau, client-server architecture, and exploit-safe combat systems. Generate a complete melee combat system with area-based hitbox using Workspace:GetPartBoundsInBox and OverlapParams, damage on Humanoids, attack animation, and server-validated cooldown.
Sign in

Sign in to access this free prompt

Roblox · Luau · beta

Generated Luau script

Safe Melee Combat with Hitbox, Animation, and Cooldown

Related Prompts