Value is not a valid member of player

image

Am getting this error after implementing a death screen. It might have something to do with me disabling CharacterAutoLoads, it worked fine before I made the death screen. The whole script is just checking if humanoid died if so it would FireClient, so it couldn’t be the script its in. If anyone thinks they know why its causing this please let me know.

There are two main things that may cause this.

1. It is not there.
You can try to use a method WaitForChild() to let the script wait for your “TrapTrue” element, you can start your game, go to the folder that you have place TrapTrue in, and check if it is actually there. If it is there, read the second.

2. Using server script to find the element, but you create that element using localscript.
An instance that has been created inside a player using LocalScript, is not visible inside the Script. If you can provide a fraction of your code that would be great.

Let me know if this solve your problem.

I have fixed it before this post, I just had to change which section the code was in.

Sweet! Glad you have fixed it.

Please mark your post where you listed the fix as the solution.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.