local descendants = script.Parent:GetDescendants()
for index, descendant in pairs(descendants) do
if descendant.Name == "Grass" and descendant.Touched == true then
descendant.BrickColor = BrickColor.new("Bright green")
end
end
I wanna make all of the descendants of a model the color "Bright green" when touched by the player. I am probably using .Touched wrong but this was the only way I thought of and yeah... It's not working.

1 comment
You would have to connect a function (that changes the color of the part) to the touched event.