I'm finding it difficult to understand your question. In particular, your use of the word "script" is confusing. Are you talking about using C# as a scripting language? Or is a "script" a file containing C# code? Perhaps you're using it to mean a class, or a function/method?
I would recommend describing your game a little first, then asking your question with reference to the actual, concrete things and concepts in the game.
he game is alike temple run, but don't need to see that as the question i am asking can be used to all the games
the scripts are the c# files which are in unity3d [i forgot to mention that]
i have one
script name = random.cs
public gameobject testy1
which is in a c# script and it is not active in any gameobjects.. I have another script which uses the random.cs script to access the testy1 gameobject.
but i don't seem to have access to it. the second script is active and make a decision as the user chooses but unfortunately i can't do it