I'm working on a level datastore, with stats. There is a value called attribute points, and everything works except I keep getting an error when trying to save data.
21:00:07.939 - Workspace.Script:57: attempt to index local 'AttributePoints' (a number value)
21:00:07.940 - Stack Begin
21:00:07.940 - Script 'Workspace.Script', Line 57
21:00:07.940 - Stack End
Here is the code
local Save_Interval = 120 repeat local ValuesForSaving = {Level.Value,LevelExp.Value,Attack.Value,Defense.Value,Agility.Value,AttributePoints.Value} DS1:SetAsync(uniqueKey,ValuesForSaving) wait(Save_Interval) until Player.Parent == nil
Attribute Points is an Int Value, just like the other values, but they save where this doesn't.
Make sure you have "Enable Studio Access to API Services" enabled in the configure game tab? lmao if that doesn't work idk.