The biggest reason your rice crispy treats got hard is you overcooked the marshmallows. Using low and slow heat, remove your pan from the heat as soon as the marshmallows are 90% melted. By the time you stir in your cereal, they're fully melted.