Background knowledge: The module script is for a fireball ability – pressing a button activates it. The module script is fired through a remote event when the player fires a button. Client > Server. However, I think since the fireball is being fired through the server, when the fireball ability is used it activates the function for each player in the server. So the fireball would be cloned 3 times for 3 people. The Server Script that fires the OnServerEvent does not fire 3 times but the function does. I made other abilities in a similar format to this, and they work perfectly fine for some reason.
Questions: What can I do so that it doesn’t do this? Why are my other abilities working perfectly fine?
Script: https://pastebin.com/bzPWvNJD — Fireball handler script
https://pastebin.com/c1iKieHW — Script Example of my other abilities