Beam keeps resetting and acting weird every couple of seconds

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I am trying to make a good-looking beam that doesn’t reset every couple of seconds.

  2. What is the issue?

  3. What solutions have you tried so far?
    I have tried reediting the TextureLength and I haven’t found any solutions to this on the Creator Hub.