monobehaviour error

We don’t know either. With some more information like the actual error message and your source code we probably would be able to help. But this little information gives no context and information to base any help on. Unfortunately.

If you have absoluetely no clue about coding in C# I suggest the free C# Yellow Ebook by Rob Miles. It’s easier to learn basics of programming outside of Unity IMO.