Does anyone know how to make a ray from a Raycast ignore all players currently in the game and those that will join later from the server? I want to use
FindPartOnRayWithIgnoreList(), even though it is deprecated. I tried making a function that adds all the players characters to a list when they join, but it did not work. Thanks!
If you meant by ignoring all player’s characters. Create a table containing all players’ characters, simply by
Culprits of this issue are two:
- Character was nil and
CharacterAdded wasn’t fired yet, or vice versa: Character somehow existed before
CharacterAdded was fired.
- Players respawn every time they die, use