local intv = 1
local pointsGiven = 1
-------------------------------------------
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Model")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Points = Instance.new("IntValue")
Points.Name = "Points"
Points.Value = 0
Points.Parent = leaderstats
end)
while wait(intv) do
for _, player in ipairs(game.Players:GetPlayers()) do
if player:FindFirstChild("leaderstats") then
player.leaderstats.Points.Value = player.leaderstats.Points.Value + pointsGiven
end
end
end
I know, DataStores, but I can't figure out the actual code.

1 comment
I've been at this for 3 hours BTW, I'm getting stressed out.