#how to check if plaryer is in water

1 messages · Page 1 of 1 (latest)

ivory oak
#

i need to create a script to check if the player is touching water so it will damage him overtime. I tried terrain.Touched but it def not works

ember tusk
#

I would say to add a script to all water and then connect the event where it's touching to a script that checks if its a player and if so damages them

ivory oak
#

terrain water

ember tusk
#

hm, check if the swimming animation is played then?

ivory oak
#

its the walking animation

ember tusk
#

when they are on water?

ivory oak
#

but its swimming

#

yeah

#

what should i do

ember tusk
#

huh, maybe check this