theres a leaderboard script wich sets it to what the points are gonna be called its in serverscript service
and there another script that gives you the points every 2 seconds but none of those work here are the scripts
Leaderboard script:
game.Players.PlayerAdded:connect(function(plr)
local stats = Instance.new(“BoolValue”,plr)
stats.Name = “leaderstats”
local Love = Instance.new("IntValue",stats)
Love.Name = "Love"
Love.Value = 0
end)
the points script:
amount = 2 – this varibel is the amount of love we get each time
timedelay = 4 – this varibeble is the amount of seconds inbetween each time the cash reward
currencyname = “Love” – this is name of our curaency
while true do
wait(timedelay)
for i,v in pairs(game.Players:GetPlayers()) do
if v:FindFirstChild(“leaderstats”) then
v.leaderstats[currencyname].Value = v.leaderstats[currencyname].Value + Amount
end
end
end