daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jul 21st, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local TotalObjects = om.UpdateObjectList()
  2. local CurrentObject = 0
  3. while CurrentObject < TotalObjects do
  4.     local ThisObject = om.GetObjectListEntry(CurrentObject);
  5.     if ThisObject.Type == 3 or ThisObject.Type == 4 then
  6.         if Target.Pointer ~= ThisObject.Pointer then
  7.             if ThisObject:GetDistance(Target.Pointer) <= 15 then
  8.                 DO STUFF HERE
  9.             end
  10.         end
  11.     end
  12.     CurrentObject = CurrentObject + 1;
  13. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top