Hello.
For about 3 weeks, I’ve been working on a fighting game but have hit a major problem with the structure of moves. The moves scripts are stored inside the player’s character, meaning that the scripts get deleted when the character is removed. This causes the problem, which is that when the user leaves the game while a move is still having any effect on the victim (stun, ragdoll, no movement), the effect will stay.
For information: I use modules for the effects, which also stop when the script is deleted.
Is there any way I could fix it without having to rewrite the way moves work?