lua```
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local AfkPoints = Instance.new("IntValue")
AfkPoints.Name = "Time"
AfkPoints.Value = 0
AfkPoints.Parent = leaderstats
local Rebirth = Instance.new("IntValue")
Rebirth.Name = "Rebirth"
Rebirth.Value = 0
Rebirth.Parent = leaderstats
while true do
wait(1)
AfkPoints.Value = AfkPoints.Value + 1
end
local Rebirth = Instance.new("IntValue")
Rebirth.Name = "Rebirth"
Rebirth.Value = 0
Rebirth.Parent = leaderstats
end)
local Boxes = game.Workspace.ValueChanger:WaitForChild("Point")
local coins = Boxes:WaitForChild("Time")
for _, Point in pairs(coins:GetChildren()) do
Point.Touched:Connect(function(otherPart)
local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local touched = Boxes.Touched:FindFirstChild("Touched")
if humanoid and player and touched and touched == false then
touched.Value = true
player.leaderstats.Time.Value += 10
Boxes.Transparency = 0.5
end
end)
end



** You are now Level 7! **
