local Store = game:GetService("DataStoreService"):GetOrderedDataStore("TopWins")

while true do
	local Ascending = false
	local PageSize = 10
	local pages = Store:GetSortedAsync(Ascending, PageSize)
	local CurrentPage = pages:GetCurrentPage()
	for i,v in pairs (script.Parent:GetChildren()) do
		if v.Name ~= "Label" and v ~= script then
			v.Visible = false
		end
	end
	for i,v in ipairs(CurrentPage) do
		local key = v.key
		local value = v.Value
		local text = script.Parent:FindFirstChild("Position" .. i)
		text.Username.Text = game.Players:GetNameFromUserIdAsync(key)
		text.Wins.Value.Value = value
	end
	wait(60)
end

this code gives me this argument every time i join the game. 14:00:49.800 - Workspace.Ranks.Part.SurfaceGui.Script:18: bad argument #3 to 'Value' (string expected, got nil) 14:00:49.800 - Stack Begin 14:00:49.800 - Script 'Workspace.Ranks.Part.SurfaceGui.Script', Line 18 14:00:49.801 - Stack End Please help i dont know the most about datastores so it would be great to get help also i have a part in my workspace called ranks and it has a surface gui in it and in that there is this script and positions 1-10 and in those i have a textlabel for wins and username the username works but the wins doesn't thanks.