How would i go about making my viewmodel apear and disapear when i equip a tool?

How would i go about making my view model toggle on and off if I have a tool equipped?

I’ve tried creating a view model and destroying it on equip and unequip but that seems to error my script any ideas are appreciated!

Please show me the script, and make sure to format it

the easiest way is to parent the viewmodel to nil to make it disappear, or you can make a for loop for all of the viewmodels children and make all of it’s baseparts transparency into 1 to make it invisible.