local time_delay = 20000 -- millisecond delay, i.e. 20 seconds function invisible_wall2_init( e ) Hide( e ) end local time_to_activate = nil function invisible_wall2_main( e ) if time_to_activate == nil then time_to_activate = g_Time + time_delay return end if g_Time > time_to_activate then CollisionOff( e ) time_to_activate = math.huge end end