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
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
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.
Anytime.
Requesting flaggable comments
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
By turple values I mean multiple values
@devQuestion, please do not swear in scriptingHelpers.