08.02.2022
статья
Гайд как сделать валюту и её заработок В РОБЛОКС СТУДИО*

просто нажмите на в ServerScriptService и добавьте скрипт и пишим вот так
"local Players = game:GetService("Players")
local function onPlayerAdded(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

local points = Instance.new("IntValue")

points.Name = "Points" --своё имя монеты
points.Value = 0
points.Parent = leaderstats
end

Players.PlayerAdded:Connect(onPlayerAdded)"
скрипт для монеты:
amnt = 1 --- Сколько даёт деньга
function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if (h~=nil) then
local thisplr = game.Players:findFirstChild(h.Parent.Name)
if (thisplr~=nil) then
local stats = thisplr:findFirstChild("leaderstats")
if (stats~=nil) then
local score = stats:findFirstChild("Points") --- Впишите название валюты
if (score~=nil) then
score.Value = score.Value amnt
end
end
end
script.Parent:remove()
end
end

script.Parent.Touched:connect(onTouched)