How to make part disappear without destroying

I am making a chest. It works as such: When a player clicks a button in his inventory, the tool’s parent is changed to the chest. When the player clicks the chest, the tool’s parent is switched back to the player.

However, I have the problem that it falls out of the world, and it looks very weird when there are just tools lying around. Is there a simple way to keep the instance parented to the chest but destroy all physical features of the tool? Also, I need to be able to reverse the change.

Couldn’t you simply anchor the tool.Handle when you move it to the chest, and uncanchor it when it’s moved back to the inventory? Unless what you are wanting isn’t to display it in the chest, but instead just “store” it there, in which case I’d move the tool somewhere else or :Destroy() it, then move it back to the inventory or copy a model of the same tool from ServerStorage.

If this didn’t help, then I don’t think I understand what you’re asking.

1 Like

Just set the transparency property to 1. It’ll turn invisible.

Not sure why I didn’t think of just anchoring the Handle. My brain isn’t working today.

1 Like

Additionally, you could create a Folder from the script (and don’t set its parent), then store items in there. Or you could set the item’s parent to nil.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.