Now, I'm not positive, but I believe:
~Save it as anything.lua ex. Suicide.lua
~Find your TB folder, and go to data->Scripts-> And save/drag your script here.
~Open Tb and go to scripts and it should be there.
Like i said im not positive, but i hope i helped.