Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by
k0ht 5
5 years ago

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"

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. T1mes 230 — 5y
0
Post the script. User#19524 175 — 5y
0
Character is a value of Player not Players Gavinboy3000 98 — 5y
0
i mean member Gavinboy3000 98 — 5y
View all comments (2 more)
0
Can you give us the code? brokenVectors 525 — 5y
0
local plr = game.Players.LocalPlayer.Character, not local plr = game.Players.Character. cherrythetree 130 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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

    wait()--before the variables
Ad

Answer this question