Welcome to the forums! You should definitely use code tags when sharing code, as it formats your code and makes it easier to read.
Why is your Grounded property static? And are you sure your raycast is actually hitting the objects? You can use Debug.Log inside that check (~line 55) or set breakpoints to inspect your properties and find out. Maybe your birbs don’t have colliders on them or something. It’s really tough to say for sure by just looking at part of a script and no details beyond “doesn’t work.”
If you dig a little deeper, and try explaining it in a way that will make sense to people who have no previous knowledge of your project (i.e., all of us), we can probably tell you something a bit more specific.