Please fix compile errors before creating new script components.

You should look at the console for the error before you post here.

However, I believe you have an issue with RequiredComponent, look at this example: Unity - Scripting API: RequireComponent

Also, you’re missing a closing brace ‘}’ for the script.

Last, but not least, please refer to this page for how to post code on the forums in the future: Using code tags properly