i already had this script
local ods = game:GetService("DataStoreService"):GetOrderedDataStore("WinsOrdered") local ds = game:GetService("DataStoreService"):GetDataStore("Wins") local lb = game:GetService("DataStoreService"):GetDataStore("LeaderBoard") function UpdateBoard() local leaderboard = ods:GetSortedAsync(false,10,nil,nil) local lb = game.Workspace.Leaderboard.Board local data = leaderboard:GetCurrentPage() local currentlyOn = 0 for k,v in pairs(data) do wait() if k ~= nil and v ~= nil then currentlyOn = currentlyOn + 1 local gui = lb.SurfaceGui.Example:clone() gui.Parent = lb gui.NameFrame.Label.Text = v.key gui.Number.Label.Text = v.value gui.Position = UDim2.new(0,0,0,65*(currentlyOn-1)) gui.Visible = true gui.Parent = lb end end end game.Players.PlayerAdded:connect(function(player) repeat wait() until player.Character ~= nil local wins = Instance.new("IntValue" , player) wins.Name = "Wins" wins.Value = ds:GetAsync("user_"..player.userId) or 0 if wins.Value == 0 then ds:SetAsync("user_"..player.userId,0) ods:IncrementAsync(player.Name, 0) end wins.Changed:connect(function(v)ddddddddd ds:SetAsync("user_"..player.userId,v) ods:IncrementAsync(player.Name, wins.Value) end) end) while true do wait(10) UpdateBoard() end
Its saying that "Board is not a value member of Script"