Laser in swep

I have question about laser in my swep. I don’t want to make it visible only from my view but from me and other players view. I wanna make some like stalker laser (i wanna make ith hurt). Help me please.

Perform a trace attack, then get the player’s eye trace and use it to drawbeam a laser. If the viewmodel is visible, draw the beam from the viewmodel’s muzzle attachment. If not (like, if in third person) then draw it from the muzzle attachment on the worldmodel.

give me a code

Fuck you

(User was banned for this post ("Let's not reply with "Fuck you"." - Swebonny))

no reason to flame the shit out of him

But he outright said “give me a code”

Idk that just pisses me off