I dont know about script
But you do need a damn powerfull and fast server

Mostly a Windows VPS/RDA is used for the torrent site purpose for seeding and other use

Try asking and PM DJGaurav as I remember he once made a torrent site like 7 months ago or 8 months