The main reason your rice krispie treats get hard is that you have overcooked your marshmallow. As soon as the marshmallows mixture melts, remove it from the heat and fold in your cereal.