In a local script I'm trying to make players transparent for certain players but when a new player joins or a character dies it can't find the character that died or player that joined. How do I make the script refresh to see new characters & players?
for i, v in pairs(game.Players:GetPlayers()) do
print(v)
local chr = plr.Character
repeat wait() until chr.Humanoid
end

2 comments
What's your goal with this?
To make players transparent for certain players