I’m trying to add a script i imported to an object called LevelManager, the only way i can find to get a script on this object is to make a new one and i don’t want to do that, as i already have the script, so I ask, how to i add the script to the object.
javascript
var fbs = gameObject.AddComponent(newScript);
this will add a script called “newScript”