How to understand compiler and other errors and even fix them yourself:
Beyond that, to help gain more insight into your problem, I recommend liberally sprinkling Debug.Log() statements through your code to display information in realtime.
Doing this should help you answer these types of questions:
is this code even running? which parts are running? how often does it run?
what are the values of the variables involved? Are they initialized?
Knowing this information will help you reason about the behavior you are seeing.
some of my errors:
Assets\playerMovment.cs(66,1): error CS1022: Type or namespace definition, or end-of-file expected
Assets\playerMovment.cs(63,18): error CS1519: Invalid token ‘=’ in class, struct, or interface member declaration
Assets\playerMovment.cs(62,14): error CS1519: Invalid token ‘=’ in class, struct, or interface member declaration
Assets\playerMovment.cs(61,71): error CS1519: Invalid token ‘)’ in class, struct, or interface member declaration
Assets\playerMovment.cs(61,42): error CS1026: ) expected
Assets\playerMovment.cs(61,42): error CS8124: Tuple must contain at least two elements.
Assets\playerMovment.cs(61,20): error CS1519: Invalid token ‘(’ in class, struct, or interface member declaration
Assets\playerMovment.cs(56,121): error CS1513: } expected
Assets\playerMovment.cs(56,120): error CS1026: ) expected
Assets\playerMovment.cs(43,9): error CS0106: The modifier ‘public’ is not valid for this item