it's true that you can expect heavy rain in Samui in early june
but in phuket, IIRC, weather will most likely be worse than in samui, expect the heavy-tropical thunderstorm. you cannot go diving or sailing to any islands for sure, maybe flooding in some areas too.
ps. sorry for my poor english.