Advertisement
Gayngel

Self-delete after time

Oct 30th, 2021 (edited)
2,142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. float time = 3600; //time in seconds 3600 seconds is 1 hour
  2.  
  3. default
  4. {
  5.  
  6.     on_rez(iteger start_param)
  7.     {
  8.  
  9.         llResetScript();
  10.  
  11.     }
  12.  
  13.     state_entry()
  14.     {
  15.    llSetTimerEvent(0.0);
  16.     llSetTimerEvent(time);
  17.  
  18.     }
  19.  
  20.     timer()
  21.     {
  22.  
  23.     llDie();
  24.  
  25.     }
  26.  
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement