I simply added first a check to see if the target’s model still exists, but it didn’t work, so I changed it to the target’s humanoid, still nothing.
I’m deeply confused on such a simple issue, any help?
The module script is supposed to play an hurt animation, which then returns this error in the output.
I also tried to move the check to the module, no use.
Note that the “Player” in the function call’s data is not being used for the target, it’s the player that fired the remote.
Nope, I am writing this code inside this particular script because it’s supposed to be a special sequence, which would break if a player happened to leave.
As I said before the issue still persists even if the model parented is the one being checked by the if statment.