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

How to detect Terrain?

Asked by 9 years ago

How to detect if a player is in terrain like water (example: I am in water and I am loosing health), how to know terrain? like a part in mentioned as its name, Scripts as script, what is terrain? This is what I know:

--I don't know!

Can anyone help me?

3 answers

Log in to vote
0
Answered by 9 years ago

http://wiki.roblox.com/index.php?title=GetCell_%28Method%29 check some of these out

Ad
Log in to vote
0
Answered by
nc2r 117
4 years ago

Player.Character.Humanoid.FloorMaterial

Log in to vote
-1
Answered by 9 years ago

Maybe add a sensor to the terrain type. Then add a script that will indicate, or add a message to the game saying which terrain there in.

Answer this question