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

PlayerToHideFrom, more than one?

Asked by 9 years ago

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

1 answer

Log in to vote
3
Answered by 9 years ago

Hello, Yes you certainly can!

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

Hope this helped (:

0
thanks it didnt say that in wiki iSunjayy 15 — 9y
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 Ryzox 220 — 9y
0
Yeah I agree with you Ryzox, good point. LearnToSkript 10 — 9y
Ad

Answer this question