riccetts
Easy fix, look at the changes.
:state=0:water=1,waterspeed=200,waterfogdist=600,waterred=255,watergreen=255,waterheightofzone=70,waterflow=2000,state=1
:state=1:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Dmask.png,hudname=goggles,hudhide=1,hudmake=display,state=2
:state=2,plrunderwater=1:hudshow=goggles,state=3
:state=3,plrunderwater=0:hudunshow=goggles,state=1
Notice I moved the colons to
after a condition. The "condition" is whether or not the player is underwater.
Also...note your water colors. Way too high(range is only 0-255).
best