Linetrace not hitting anything when replicated

in case you didn’t see, there’s also a video demonstrating the problem. The on fire function containing the line trace is only replicated on the server and its suppose to ignore the character. Also when testing offline the line trace works as intended.

On Fire Fuction bottom to top: (sorry coudnt fit into a single screen shot)