I am starting to develop a battle game for my group, but I am scripting weapons before anything else. Right now the game is just a baseplate with some dummies, and I hosted some test sessions regarding killfeed, gun functionality, etc.
One problem that happens almost every minute is a random large lag spike, despite it just being a baseplate with guns only and no other script.
I checked the console, and this appeared:
There is also a grenade tool, which I think this error comes from.
How can I fix this? Is it just a simple change of ExplosionType?