`local plr = game.Players.PlayerAdded:Connect(function(plr)
local leaderstats = Instance.new("Folder", plr)
leaderstats.Name = "leaderstats"
local Time = Instance.new("IntValue", leaderstats)
Time.Name = "Time Alive"
Time.Value = 0
local playersInZone = {}
while true do
local zone = game.Workspace:WaitForChild("SafeZone")
local playersChecked = {}
local parts = game.Workspace:GetPartsInPart(zone)
for i, part in pairs(parts) do
local humanoid = part.Parent:FindFirstChild("Humanoid")
if humanoid then
playersChecked[part.Parent] = true
end
end
for character, v in pairs(playersChecked) do
if not playersInZone[character] then
Time.Value += 1
playersInZone[character] = true
end
end
for character, v in pairs(playersInZone) do
if not playersChecked[character] then
playersInZone[character] = nil
end
end
end
task.wait(1)
end)`
** You are now Level 1! **