ryanjimenez-41/lua-menu ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Roblox Lua script that spawns dummy characters on command and keeps track of them for me.

I want each dummy to snap to the ground using a raycast, appear with a random face texture, and be treated like a basic Player style object so I can reference it in a clean way. Please also track all active units, make it easy to remove or clear them, and give each one an automatic lifetime timer so old dummies clean themselves up after a while.

Keep it lightweight and procedural, with everything in one script if possible. Make the code easy to read and add a few clear comments so I can adjust the spawn behavior later. If you need to check current Roblox Lua docs for any API details, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab