ViewModel for every tool

Hello to everyone who visited this post.

Here I would like to ask you how I could make my ViewModel for any item, I tried to do it already, but it didn’t work, the camera just froze because there were other bugs, I would like to take the FE system based on it, do everything perfectly there, I would like to transfer the VM system from FE as a separate system and make it for food.

So that the item is food when you take it out / activate it, the ViewModel worked as in FE, but it was not a weapon, but was like food that you can eat.

Tell me how it can be done.