Change Colors With Script

Please complete the following questions!

Has this feature been suggested before?
Yes, but no responses
Is your feature request related to a problem? Please describe.
No
Describe the solution you’d like
A function to change the color of an object/tint of an object
Ex: if (this.hits(zombie)) { player.changeColor("green") // infect player and make it look like a zombie }
Describe alternatives you’ve considered
I don’t have any

You can already do this

How can I do it?

Here’s a link to a thread that has the answers