How do I make a part that when its clicked it changes to a tool and clones into the clickers inventory?
Insert ClickDetector
inside part then insert Script
inside part and paste this:
local part = script.Parent script.Parent.ClickDetector.MouseClick:Connect(function(Player) local tool = Instance.new("Tool") part.Parent = tool part.Anchored = false part.Name = "Handle" part.ClickDetector:Destroy() tool.Parent = Player.Backpack end)
Note: This will only work for a single part item (In case it has multiple parts you will need to weld and move all parts to tool)