Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[SOLVED] How do I make a touched event for water?

Asked by 5 years ago
Edited 5 years ago

Sooo, What I am trying to do is If you touch the water something happens.. I tried this script but didn't work...

                  game.Workspace.Terrain.Appearance.Water:Touched:Connect(function(hit)

                      print("Water touched!")

and in the output it said: Appearance is not a valid member of Terrain

0
Put an invisible block on the water, and fire the Touched event with it. User#19524 175 — 5y
0
Thanks! But the problem is the water isn't a square, rectangle, sphere or Cylinder.. It's a huge pond with a weird shape, is there an easier way to do it?  mixgingengerina10 223 — 5y
0
you could probably try to replicate the shape of the pond by using a union (but idk if that would work) UNBANhappyniceguy5 52 — 5y
0
I'm pretty sure when touching terrain it fire Terrain.Touched hiimgoodpack 2009 — 5y

Answer this question