client prediction picking function?

Options

I have a functional requirement for picking up props. I want the client to execute first, and then the server to verify. If the verification fails, the client will roll back this operation. Anyone have any ideas for how to implement it?