I am fairly new to scripting weapons and after researching a lot I’ve managed to create a fairly good slingshot. Now I am beginning to make it secure. Two things I have added to secure the event when firing the slingshot are
- Check to see if the bullet was shot from where the Player’s tool was.
- Check every second to make sure the event is not getting fired faster than it should really be getting fired.
these two in themselves are all I could think of and I am sure there are more. I know that security depends fully on the game but I was wondering if anyone could give some examples on ways they sanity check their weapons.