local puntosAAgregar = 100000 -- Cantidad de puntos a añadir cada vez -- Obtener el jugador local local player = game.Players.LocalPlayer -- Verificar si el jugador y sus estadísticas existen if player and player:FindFirstChild("Stats") then -- Iterar sobre todas las estadísticas del jugador for _, stat in pairs(player.Stats:GetChildren()) do -- Verificar si la estadística tiene un valor numérico if stat:IsA("NumberValue") or stat:IsA("IntValue") then -- Añadir los puntos al valor actual stat.Value = stat.Value + puntosAAgregar print("Stat modificada:", stat.Name, "-> Nuevo valor:", stat.Value) end end else warn("No se encontraron las estadísticas del jugador. Asegúrate de estar en el juego 'Age of Heroes'.") end