Exception while signaling: Must be a LuaSourceContainer, when trying to kill player

Hello, I’ve made a script that kills a player once they’ve been jump-scared but an error pops up which stops an entirely different script from working.


I’ve checked a few times and found out that the error is coming from this script but isn’t affecting it.
Here is the script that is causing the error:


Line 14 is where it’s causing the error but it still kills the player. This error just stops the camera from returning back to the players regular CFrame.

Here is the script that the error stops and changes the players CFrame:


I have the exact same scripts in another place and it works perfectly fine with no errors.

Just found out that another script was disturbing these scripts.

1 Like