#Script to specify terrain

4 messages · Page 1 of 1 (latest)

indigo ocean
#

is there a way to specify this line of code to make it only work for terrain thats grass
if Target == workspace.Terrain then

cloud valve
#
local pos = Vector3.new()
local ray = workspace:Raycast(pos, Vector3.new(0,-5,0))
    
if ray and ray.Instance == workspace.Terrain and ray.Material == Enum.Material.Grass then
    print("GrassyStuff")
end
indigo ocean
#

the soil is not needed cause i disable it