Hi everyone I’ve just started working on a racing game (I started yesterday) and am trying to make the player able to choose a car color to race as so I have tried changing the mesh material to a different one each time but have had no luck in achieving this any help is greatly appreciated.
also here are some screenshots of my code
again any help is appreciated and thanks in advance