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

PlayerToHideFrom in BillboardGuis?

Does the PlayerToHideFrom property allow turple values?

for example;

for i,v in next, game.Players:GetPlayers()
	if v.Name ~= player.Name then
		gui.PlayerToHideFrom = v --hides for every single player
	end
end

2 comments

0

By turple values I mean multiple values

2

@devQuestion, please do not swear in scriptingHelpers.

1 answer

✓ Accepted answer

The PlayerToHideFrom property takes in a userdata, the player you want to hide the gui from. You cannot set this value to multiple values.. it will just overwrite it. What you're doing, by iterating through all the players is going to make it so the last player gets the gui hidden from, no one else.

2 comments

3

Anytime.

0

Requesting flaggable comments

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