All i want it to do is print the string value, in this case the players username for testing.
local DSS = game:GetService("DataStoreService")
local psave = DSS:GetOrderedDataStore("PassSaveSystem")
game.Players.PlayerAdded:connect(function(plr)
psave:SetAsync("Username",plr.UserId)
end)
wait(1)
print(psave:GetSortedAsync("Username",game.Players.REDDAPPLE4545.UserId))
Issue is the last line, the error is:
14:21:28.737 - Stack Begin 14:21:28.739 - Script 'Workspace.serverstartscripts.saveetsting', Line 10 14:21:28.739 - Stack End
