Getting component from c# to java script

Hi all i have problem with my game because in one script i want to script to get component from ‘SmoothFollow’ script “”
var cam = Camera.main;
cam.GetComponent(SmoothFollow).target = newball;‘’

but when i click save and wanted to play im getting this error ‘’ BCE0005: Unknown identifier: ‘SmoothFollow’. but i have this script in my asset folder same capital letters and in the script target is also with small letter so i have no idea whats wrong :confused:
Can anyone help :?

UnityScript gets compiled before C# . There’re couple of workarounds for example in docs :