To make a transparency for TF2 you need to create an alpha channel. Create a new channel in the channel tab (near layers) and it should be named Alpha 1. In Alpha, black is 100% transparent, and white is 0% transparent. It's completely grayscale, so when you save it, just make sure you save with alpha layers as a .vtf and you're set.