local spawns = game.Workspace:FindFirstChild("Spawns") -- Mencari folder Spawns di Workspace if spawns then for _, checkpoint in pairs(spawns:GetChildren()) do if checkpoint:IsA("Part") and checkpoint.Name == "Checkpoint" then checkpoint.Touched:Connect(function(hit) local character = hit.Parent local player = game.Players:GetPlayerFromCharacter(character) if player then local leaderstats = player:FindFirstChild("leaderstats") if leaderstats then local stage = leaderstats:FindFirstChild("Stage") local stageValue = checkpoint:FindFirstChild("Stage") if stage and stageValue and stageValue:IsA("IntValue") then if stage.Value < stageValue.Value then stage.Value = stageValue.Value end end end end end) end end end