HOW TO PUT IN SCRIPTS

ok i made a script For the engine D-bugged
how to use it with attributes???
it doesnt work for me