Advanced Tool Durability and Breakage System
Generate a robust durability implementation for Tools, weapons, pickaxes, axes, and other usable items in Roblox. The system controls wear from use, blocks broken tools, applies visual states, and exposes a secure architecture for repairs and integration with existing combat or gathering systems.
The prompt was designed for professional projects that need to avoid exploits: every durability change, breakage, reward, and repair is validated on the server. It also guides the model to adapt the code to the real structure of your Explorer, existing RemoteEvents, and the specific rules of your game.
Ideal for developers who want complete, commented Luau code ready to paste into Roblox Studio, with clear installation instructions, multiplayer testing, and integration points for inventory, DataStore, and UI.
Act as a senior Roblox developer, specializing in Luau, client-server architecture, and anti-exploit security. Create a complete, modular, server-authoritative durability and breakage system for Tools in my Roblox game, adapted to the context I will provide below.