if you delete something will it delete it in the time machine?
Yes. Note that the drive may fail at any time; anything you want to keep shouldn't be on only one drive.
Not immediately, but it might happen if the drive containing the backup runs out of space.
so if I delete something in my library it will still keep it in the external hard drive as long as it has enough space
Retrieving data ...