Automatically uncheck?

hi, i have a problem with gameobject again. i attach the script in a gameobject, and then i Clone that gameobject, then destroy the original gameobject. my question is Why the script automatically uncheck in cloned gameObject ? and then how can i fix it?? thanks

Boolean defaults to false (unchecked) when created. If you dont make that specific boolean true (check) when it is created it assumes the default value of false. You can easily remidy the problem by simply saying something of the sorts

var playerClone=Instantiate(player,position,rotation);
playerClone.GetComponent(MyScript).myVar=true;

notice the variable for the newly instantiated object and then the ref to the actual script that we need to change to get the desired results.