Hi, I have a linetrace script attach to my player .The script itself is a litle complicated but to make a long story short, when thje player line trace hit an object it create an outline on it. The thing work and all but I have a feeling it is not optimize at all. You can see the script down here, it is not the actual script but that pretty much the logic
My question is, is there a way to make all of it more optimize because I feel it is really not.
Thanks