Float From Scene1 to Scene2

I have been struggling with this problem for few days.
I have two different scenes, one for main menu and one for actual game. In main menu you have options where you can change game scene values to make game easier/harder. Main menu is coded in C# and game in JavaScript. Problem is that i cant transfer that float from mainmenu to game.
alt text

There is picture of scenes. I should access Menu scene gameobject component, but it throws me error BCE0019: ‘speed’ is not a member of ‘UnityEngine.Component’.
I hope you understand my problem and know how to help in it.

You can save your setting with PlayerPrefs(or any other type of storage scheme(SQLite, XML, Json… though more experience would be required) or use DontDestroyOnLoad to mark the object not to be destroyed between scene loads.