When creating an automatic gun, I tried spamming a remoteevent using a repeat until the player the player releases their mouse button but it had a very low firing rate, and seemed to cause a lot of lag. At least when I made it. I tried looking up stuff on this but didn't seem to be able to find anything. Is there a more efficient way to do this?