Server spawn character and client can't move

server spawn character and client getactorofclass.addmovementinput,then client can’t move

i think reason client get character and this character local role is simulated proxy,so it can’t move

now,how i change client replicate character local role and remote role