Greetings! I am making a World Record system, and I got one of the most sus errors I
have ever seen:
And in this code, I am trying to use this. WorldRecords is an OrderedDataStore.
ReplicatedStorage.WorldRecord.SetWorldRecord.Event:Connect(function(Player, Time)
WorldRecords:SetAsync(Player.UserID, Time) -- Error happens here.
end)
And on another ServerScript, I am passing Player, and the time in seconds the player has gotten.
ReplicatedStorage.WorldRecord.SetWorldRecord:Fire(Player, TimeTrialsValue)
Would appreciate some help.
Thanks in advance!