Terrain Help

I fixed the script! Textures work now, and if you are wondering why the grass is gray, it will change when the piomes are added. Humidity affects the color, multiplied by the texture.

https://playcanvas.com/editor/scene/2139514

I found a cool voxel engine thing in PlayCanvas, but when I forked it, it did not work for me. Why is that?
This one is MAX’s
https://playcanvas.com/project/827487/overview/voxels

This one is mine
https://playcanvas.com/project/1341481/overview/123