Help for a bug!

I created a c# script with a random number generator and i firstly set it on the main camera; when i press play to test, unity crushes (It remains static and i cant click anything) and i am forced to close it with the Task Manager. I tried to remove the script and create another one for the random number generator but it crushes in the same way. Can someone explain me what to do?
I am sorry for the bad english, i am italian.

It’s hard to guess what’s wrong without much info. Could you post your code?

This is invalid (or at least, confusing!) syntax:

for (c = 0; c < 4; c = c);

Keep everything you have, but try adding this at the beginning of your start function:

for (c = 0; c < 12; c++)
{
    PresenzeMazzoBanco[c] = false;
}

It was a bit confusing to read your code because the Unity forums removed all of your " [ i ]" and turned them into italic font commands. You can prevent this in the future by using code tags , which will also make the code look nice like here in my post.

Good luck!