How to replicate float?


I’am making a multiplayer game.
I have a problem with replicate of float in my character blueprint.
I cast my value of float from char bp to anim bp blueprint.
My script doesn’t work well. I was try many
solutions and it doesn’t help. My script is now looking like a mess.
I need pitch in my aim system which is creating in multiplayer.
I would like to do that in that way below but i can’t do that properly.
I would be glad for help!
Please become my hero. <3
Your help will help me a lot.