Добавь, что у человека изначально не 1 Multiplayer, а 2.

local Players = game:GetService("Players")
local DataStoreService = game:GetService("DataStoreService")
local MultiplayerStore = DataStoreService:GetDataStore("PlayerMultiplayer")

-- Функция форматирования чисел
local function formatNumber(number)
	local suffixes = {"", "K", "M", "B", "T", "Qd", "Qn", "Sx", "Sp", "Oc", "No"}
	local index = 1
	while number >= 1000 and index < #suffixes do
		number = number / 1000
		index += 1
	end
	if index == #suffixes and number >= 1000 then
		return "999No"
	elseif number < 1000 then
		return string.format("%d%s", number, suffixes[index])
	else
		return string.format("%.2f%s", number, suffixes[index])
	end
end

-- Функции управления Multiplayer
local function resetMultiplayer(player)
	player:SetAttribute("Multiplayer", 1)
end

local function addMultiplayer(player, amount)
	local currentMultiplayer = player:GetAttribute("Multiplayer") or 1
	player:SetAttribute("Multiplayer", currentMultiplayer + amount)
end

local function subtractMultiplayer(player, amount)
	local currentMultiplayer = player:GetAttribute("Multiplayer") or 1
	player:SetAttribute("Multiplayer", math.max(currentMultiplayer - amount, 1))
end

-- Обработка сохранения данных при выходе игрока
local function savePlayerMultiplayer(player)
	local success, err = pcall(function()
		MultiplayerStore:SetAsync(player.UserId, player:GetAttribute("Multiplayer"))
	end)
	if not success then
		warn("Не удалось сохранить Multiplayer для игрока " .. player.Name .. ": " .. err)
	end
end

-- Обработка загрузки данных при входе игрока
local function loadPlayerMultiplayer(player)
	local success, data = pcall(function()
		return MultiplayerStore:GetAsync(player.UserId)
	end)
	if success then
		player:SetAttribute("Multiplayer", data or 1)
	else
		warn("Не удалось загрузить Multiplayer для игрока " .. player.Name .. ": " .. data)
		player:SetAttribute("Multiplayer", 1)
	end
end

-- Создание текста Multiplayer над головой игрока
local function createMultiplayerOverheadText(player)
	local billboardGui = Instance.new("BillboardGui")
	billboardGui.Name = "MultiplayerOverheadGui"
	billboardGui.Parent = player.Character.Head
	billboardGui.Adornee = player.Character.Head
	billboardGui.Size = UDim2.new(4, 0, 1, 0)
	billboardGui.StudsOffset = Vector3.new(0, 3, 0) -- Над текстом Money, но под Stars
	billboardGui.AlwaysOnTop = true

	local textLabel = Instance.new("TextLabel")
	textLabel.Name = "MultiplayerOverheadText"
	textLabel.Parent = billboardGui
	textLabel.Size = UDim2.new(1, 0, 1, 0)
	textLabel.BackgroundTransparency = 1
	textLabel.TextStrokeTransparency = 0 -- Добавляет черную обводку
	textLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- Красный цвет
	textLabel.Font = Enum.Font.FredokaOne
	textLabel.TextScaled = true
	textLabel.Text = "Multiplayer: " .. formatNumber(player:GetAttribute("Multiplayer"))

	player:GetAttributeChangedSignal("Multiplayer"):Connect(function()
		textLabel.Text = "Multiplayer: " .. formatNumber(player:GetAttribute("Multiplayer"))
	end)
end

-- Обработка при добавлении игрока
Players.PlayerAdded:Connect(function(player)
	player:SetAttribute("Multiplayer", 1) -- Значение по умолчанию

	loadPlayerMultiplayer(player)

	player.CharacterAdded:Connect(function()
		createMultiplayerOverheadText(player)
	end)
end)

-- Сохранение данных при выходе игрока
Players.PlayerRemoving:Connect(function(player)
	savePlayerMultiplayer(player)
end)