Advertisement
Gayngel

Attach & Animate Script

Aug 23rd, 2021
1,895
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  default
  3.   {
  4.  
  5.     attach(key id)
  6.     {
  7.  
  8.      if(id)
  9.         llRequestPermissions(id,PERMISSION_TRIGGER_ANIMATION);
  10.  
  11.     }
  12.    
  13.     run_time_permissions(integer perm)
  14.    {
  15.  
  16.     if(perm & PERMISSION_TRIGGER_ANIMATION)
  17.     llStartAnimation(llGetInventoryName(INVENTORY_ANIMATION,0));
  18.  
  19.   }
  20.  
  21.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement