For the second one set state doesn’t matter I the force occurs always unless in sitting state, or physics state or platform stand. Basically when the humanoid isn’t exerting force.
If you want to only align the normal vector you can use this method.
This allows for other rotation along the local normal vector.
Either way with any method you will definitely need to add on and use AssemblyLinearVelocity vector to align with the sliding direction, I’ll leave this up to you.