What i'm trying to do: when the user loads into a new area, the Water terrain color will change based on the area. unfortunately i cannot use enum.material for some reason, even though i can use this for all other terrain.
Here is the relevant line of code in my script:
local waterMaterial = workspace.Terrain.WaterColor
terrain:SetMaterialColor(waterMaterial, area.LightingSettings.Terrain.Water.Value)
I am getting the following error: Unable to cast Color3 to token
This may be due to me using a Color3Value (see image below), but how else would i be able to do this?
i can provide the full script if that would help