how to create a speedometer (car game) ?

Nothing above is valid C# code, it’s just random snippets of code-like gibberish.

You may wish to consider starting here: Learn

ALSO: Please do not post to six-year-old threads. Instead, start your own fresh thread, it’s a) free and b) necessary according to forum rules.

If you have an actual issue, here is how to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

How to understand compiler and other errors and even fix them yourself:

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly

2 Likes