Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

"Character is not a valid member of players" Fix?

My murder game has three different roles, murder, sheriff, innocent. And they each have a spawn that they each teleport to randomly. When I test the game with multiple people, only the sheriff and murderer go to their designated spawn, but the innocent don't and then it says "Character is not a valid member of players"

6 comments

0

There’s probably something wrong with the code moving the innocent then. It would help us help you if you showed us some code.

0

Post the script.

0

Character is a value of Player not Players

0

i mean member

0

Can you give us the code?

0

local plr = game.Players.LocalPlayer.Character, not local plr = game.Players.Character.

1 answer

Players. Hmmm Players dont have a character only a Player does also if the player doesnt load in properly use

	wait()--before the variables

This discussion is preserved as it was. New answers, comments, and votes are closed.