Guest User

gmod halo help

a guest
Jul 28th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function track(att, path, dmginfo)
  2. local ent = path.Entity
  3. local plytotal = {}
  4.  
  5. if not IsValid(ent) then return end
  6. if not ent:IsPlayer() then return end
  7.  
  8. plytotal[1] = ent
  9.  
  10. timer.Simple(3, function()
  11. hook.Add( "PreDrawHalos", "AddTrackHaloeth", function()
  12. halo.Add( plytotal, Color( 255, 0, 0, 255 ), 1, 1, 2, true, true )
  13. end )
  14. end)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment