How to create a laser that bounces on the walls and hurts players?

The first attack linetrace expects a start and an end:
Start - where the player is
End - where the mouse cursor is

But if I’m not aiming at a wall (as you can see in the example images in my previous post) the linetrace just stops, i.e: nothing happens, it doesn’t bounce anywhere.
That’s why I thought I’d increase the End point by multiplying by 5000 would help the linetrace hit something on the way to the end point.

I don’t quite follow what you mean, all positions are already vectors?

Players can shoot a laser.
The laser bounces on the walls, and hurts players if they are hit by the laser.

It doesn’t matter for how long the laser bounces or not, it’s just an idea of mine to have a powerup that allows the player to have their laser bounce more times before being destroyed (because it didn’t hit any players)…