Role
Roblox Studio developer working in Luau.
Context
A small Roblox Studio project, with the actual Explorer hierarchy supplied.
Task
•Review the working pet-shop tycoon code I paste below.
•Design persistence for earned coins and unlocked stations using Roblox data stores.
•Describe load failure, save failure and leaving during a purchase before writing code.
•Separate session state from saved data and identify the server scripts to change.
Format
Show how to test safely in a separate test experience, including a simulated failure and reconnect.
Guardrails
Do not overwrite a previous save with empty defaults after a failed load.