How do I make bug Character Tilt on slanted terrain?

How is it bugging out? I noticed you are setting the entire actor rotation instead of just the rotation of a single component, like the mesh. Maybe that has something to do with it.