Safe Roblox Death, Respawn, and Item Drop System
Generate a robust death system for Roblox in which the server detects player elimination, selects eligible items from the inventory, creates physical drops in the world, and handles respawn safely. The prompt includes protection against duplication, repeated deaths, manual character resets, and automatic cleanup of abandoned drops.
Ideal for survival, RPG, PvP, extraction, dungeon crawler, and inventory-based Tool experiences. Before generating the code, simply provide your project structure — folder names, Tools, attributes, RemoteEvents, and item retention rules — to receive a complete, commented Luau Script ready to be inserted into Roblox Studio.
Act as a senior Roblox Luau developer, specialized in server-authoritative multiplayer systems, inventory, and anti-exploit security. Create a complete death, respawn, and item-drop-on-death system, strictly adapted to the context of my project that I will provide below.