I need help with the terrain color script. : (
I tryed many time scripting the terrain of my test world but everytime I tryed the Scripts, that I found on Youtube and in the internet they didnt work.
Here is the Script that I found: local terrain = game.Workspace.Terrain
game:Workspace.Terrain:SetMaterialColor(Enum.MaterialGrass,Color3.fromRGB(0, 85, 0)
Is there anything wrong in this Code?
After watching many videos and seeking for the script in the internet, I am here for some help please.
I hope that you can help me . Thank you for your time. : )

2 comments
Well first of all I see that you did game:Workspace, I would assume that it should be game.Workspace because you are trying to set the path to Terrain. I would say "game.Workspace.Terrain:SetMaterialColor(Enum.Material.Grass, Color3.fromRGB(0, 85, 0))"
Thank you so much for your time and help .