Ice power using raycast

So I have a raycast that is used repetitively and it works as its supposed to, however when it goes to change the waterblock to ice it immediately moves onto the next waterblock once its set to ice not realising its just turned the water before into ice
Continue to help post