I know that there a way to make it so if a player has a certain tool in their inventory, they can click on a "Part" that has a click detector on it with the key, which is the tool that I referenced above, in their Inventory.
What I am basically wanting to achieve is the player must find a key, pick it up, then bring it to said "Part" and click on it to unlock it, which in this case would be to run the event :Destroy(). Then this will allow the player to freely open and close the door.
I am fairly new to scripting and love figuring things out myself. I would just like to be pointed in a certain direction on how to do this since I am just now beginning with making tools and wanting to make something like this.
Thanks :)

6 comments
It's weird because it won't work.. I changed character to game.Players in the first line and in the second line made it game.workspace..
are you trying to make this work for all parts
No. Could you add me on discord to talk about it? Thanks :) Ranger#0188
sure
sure
sure