Global Data Store working in studio but not in game

Hi everyone! I developed an issue recently where a global data store was working in studio, but in game it fails to store data and generate an error. Here is my code:

local DataStoreService = game:GetService("DataStoreService")
local SusScores = DataStoreService:GetOrderedDataStore("SusScores")


local success, err = pcall(function()
	SusScores:SetAsync(player.UserId, accuracyThing*100)
end)
		
if success then
	print("Success")
else
	print("Error")
	print(err)
end

Thanks

Can you provide more information likeā€¦
What is the error?
What is accuracyThing? a Number Value?
How do you retrieve player? in playeradded?