a lot of erros

so idk why i got alot of erros and i dont know how to fix it please help !

That error is usually related to passing a normal data type through IsValid.

so how i can fix it ?

Check your IsValid calls.