What's my Datastore name?

So I get this leaderboard script on the internet, but I want to reset it with renaming it. But I cant find what is my datastore’s name. This is the script:

local ods = game:GetService("DataStoreService"):GetOrderedDataStore("Wins")
local Players = game:GetService("Players")

local primaryColor = Color3.new(1,1,1)
local secondaryColor = Color3.new(0.815686, 0.815686, 0.815686)

local function cleanBoard()
	for _,surfaceGui in pairs(script.Parent:getChildren()) do
		if surfaceGui.Name == "SurfaceGui" then
			for _,frame in pairs(surfaceGui.ScrollingFrame:GetChildren()) do
				if frame:IsA("Frame") then
					frame:Destroy()
				end
			end
		end
	end
	
end

function updateBoard(data)
	for i,v in pairs(data) do
		for _,surfaceGui in pairs(script.Parent:GetChildren()) do
			if surfaceGui.Name == "SurfaceGui" then
				local pos = i
				local userId = v.key
				local score = v.value
				local frame = script.Frame:Clone()
				frame.Parent = surfaceGui.ScrollingFrame
				pcall(function ()
					frame.name.Text = Players:GetNameFromUserIdAsync(userId)
				end)
				pcall(function ()
					frame.playerImage.Image = Players:GetUserThumbnailAsync(userId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
				end)
				frame.value.Text = score
				frame.rank.Text = "# " .. pos
				if i % 2 == 0 then
					frame.BackgroundColor3 = primaryColor
				else
					frame.BackgroundColor3 = secondaryColor
				end
				if i == 1 then
					frame.BackgroundColor3 = Color3.new(255/255, 255/255, 179/255)
					frame.name.TextStrokeColor3 = Color3.new(255/255, 226/255, 0)
					frame.value.TextStrokeColor3 = Color3.new(255/255, 226/255, 0)
					frame.rank.TextStrokeColor3 = Color3.new(255/255, 226/255, 0)
					frame.name.TextStrokeTransparency = 0
					frame.value.TextStrokeTransparency = 0
					frame.rank.TextStrokeTransparency = 0
				end
			end
		end
	end	
end

while true do
	local success, message = pcall(function()
		local pages = ods:GetSortedAsync(false,100)
		-- get data for first board
		local data = pages:GetCurrentPage()
		cleanBoard()
		updateBoard(data)
	end)
	
	if not success then
		print(message)
	end
	wait(15)
end

Thanks, I hope someone know my datastore name!

2 Likes

“Wins” would be your datastore’s name.

2 Likes

Ah okay, thank you so much for that!