Rendering a linecast

I have a turret that detects a player with a linecast, and then shoots them.
I’m wondering if there is a way I can use the linecast to render a sort of laserbeam to my object.

You can do a LineRenderer if your linecast hits