Ask for a script the right way
Describe the expected behaviour from the player’s point of view, not the technique: “when the player touches a fish, they pick it up, earn coins based on rarity, and their progress is saved”. Spell out edge cases: what happens if the inventory is full, if the player leaves, if they click very fast?
If the AI can see your project (agent connected to Studio), it reuses existing names and modules. With copy and paste, give it the exact names of the objects and folders involved.
The server decides, never the client
On Roblox, anything that runs on the player’s device can be changed by a cheater. Money, rewards, damage, purchases and inventory must therefore be computed on the server.
Ask explicitly: “the server is authoritative, every RemoteEvent checks the player, the values received and the delay between two calls”. A well-configured AI does this on its own, but check it in every feature that touches the economy.
DataStore saving
Losing progress is the worst thing that can happen to a player. Reliable saving retries on failure, saves regularly and when the server shuts down, and prevents two servers from writing the same data at once.
Also ask for a format version for your data: the day you add a new resource, old saves must still load.
Code organised in modules
A growing game quickly becomes unreadable if everything sits in one script. Ask for a module-based structure (one module per system: shop, inventory, quests), with shared code kept separate.
This structure also helps the AI: it finds where to make changes more easily, and a fix in one system does not break the others.
Test before you approve
A script is not done until it has run in Play. Have every feature tested, the output read and errors and warnings fixed. Test with two players for multiplayer games too.
WebnR reads the output at the end of each task and has errors fixed before handing back control; a simulated player can also go through the game loop and report what breaks.
Performance and phones
A badly written script can make the game lag, especially on phones: loops that never stop, connections never disconnected, too many objects created. Ask the AI to measure and fix what costs the most.