Can anyone recognise the error in this code? I am struggling to find it. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Can anyone recognise the error in this code? I am struggling to find it.

In one of the unity games I play, it has a code that you may put as your name that allows you to make your name colourful. I didn't want to write the code every time, so I wanted to make this program to write it for me. When I run the code, I simply get "complication error", unfortunetly I am unable to find the problem. https://code.sololearn.com/cBCrQWq1yBqT/?ref=app

27th Jun 2019, 4:21 PM
Mythical Coding
Mythical Coding - avatar
2 Answers
+ 3
this and the other can be a problem realcolor = <color=white>; if its intend to be a string put a double quotation mark
27th Jun 2019, 4:29 PM
Taste
Taste - avatar
+ 3
Ok i got it to work now, thank you all
27th Jun 2019, 4:54 PM
Mythical Coding
Mythical Coding - avatar