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

PlayerToHideFrom, more than one?

Can you insert a table of players into the PlayerToHideFrom property under billboardguis? Thanks for the help.

1 answer

✓ Accepted answer

Hello, Yes you certainly can!

for i,v in pairs(game.Players:GetChildren()) do
script.Parent.PlayerToHideFrom = v
end

Hope this helped (:

3 comments

0

thanks it didnt say that in wiki

0

I would suggest using :GetPlayers() or :players() when getting the players in case they are for some reason storing some random crap in Players

0

Yeah I agree with you Ryzox, good point.

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