I'm writing a Data Persistence script, and I want it to set a player's Gold value to either their goldKey string number, OR to 10 if they don't have any saved stats. How would I go about doing this?
1
again, I would not use data persistance. But, if you were to say player:LoadString() or 10, if player:LoadString() returned nil (for new players), the or would automatically assign it to 10.TigerCaptain75— 10y