Need help with climbing system.

I have been following these tutorials and everything has worked except the side jumps. If anyone knows a fix that would be greatly appreciated.

The tutorials: