Create a variable "StartTime", set it to "time" on start of the layout.
Then change your event to this:
System-> Compare two values -> (time-StartTime)<=10
Its works, thanks you very much.
But I do not understand what is happening.
At the start of the game, the StartTime variable is being initialized together with the system time?
how did StartTime get the restart, without setting StartTime in 0 again?