How to add a seconds when you destroy the object ?

please help me !! can you give me a code A complete code to how to program that compute adding when you destroy the object. example once you destroy the object, 10 seconds will add in your time. i hope someone could help me .. Godbless .

if i understand what you are wanting to achieve(adding 10 to a timing script) you have to send data from the script to where ever your timing script is exp:

in the script under the function where the object is being destroyed you would place

SendMessage ("the name of a function", amount of time);

in the time script

function "the name of the function"(time:float)`{

}