Remove

remove is a function present both on Objects and Attachments which removes them from the Experiment when they are called.

this snippet of code will remove the Attachment of the Target object when 30 Ticks have passed and then remove the Target object after 120 more ticks.

if lb.getticks==30 then lb.gettarget.getattachment.remove elseif lb.getticks==150 then lb.gettarget.remove end