I've been trying to do it but I can't figure it out.
This should be it.
ToolName.OnEquipped:Connect(function() -- Detects when you equip it scriptName.Enabled = true -- Enables the script end)