How do I get all players in-game?

It seems that game.World.Has(“Identity”) should not be used, and while game.Players.All() works, the editor complains that ‘All’ has been deprecated and should be replaced with ‘World.Each’ instead. But I can’t seem to find an appropriate way to apply it to my script.

game.World.Each(“Player”)

2 Likes

Worked, didn’t require much changing apart from switching player.Position to player.Character.Position. Thank you!

1 Like