CapsAdmin

Untitled

Mar 19th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. for _, clip in ipairs(part:GetChildren()) do
  2.     if clip:IsValid() and not clip:IsHidden() then
  3.         local pos, ang = clip.Position, clip:CalcAngles(clip.Angles)
  4.         local normal = ang:Forward()
  5.         holo_str = holo_str .. "CI++\n"
  6.         holo_str = holo_str .. "holoClipEnable(I, CI, 1)\n"
  7.         holo_str = holo_str .. "holoClip(I, " .. tovec(pos + normal) .. ", " .. tovec(normal) ..  ", 1)\n"
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment