Is there a program or videos to test you then you can be very good in scripting games ? because I am trying to make a game but just can’t make codes
There isn’t any magic program or video that can make you good at programming. Only with dedication and patience will you even become good at programming.
That said, there are of course resources that can help you become better:
Unity learn section: Learn
C# fundamentals: C# Fundamentals: Development for Absolute Beginners | Microsoft Learn
And a general game design resource: Amazon.com