Hello, hope you are feeling really well
. I am having an issue with FindPartsOnRayWithIgnoreList() and FindPartsOnRay() they do not detect the Water Terrain. If you are in the surface with nothing on top, for example: A sea. Then it will detect the water. But if you are underwater or you make a cave with water in it. It will just ignore water and find the ground else it will return nil. Idk If I explained myself really well.
There are a couple of threads around that can be used to detect when the player is underwater, try reading through those threads and salvaging code or ideas where to start doing research if you can. Check out this thread for example which has water colour tweening:
1 Like
Thank you so much! It worked! ![]()