How would i do this? Can Anyone Help?
✓ ANSWER ACCEPTED
How would i make a gui only show for certain people?
1 answer
✓ Accepted answer
Put this in a
localscript
inside of the Screengui.
local peoplewhocansee = {"digitalzer3","Whoeverelse"}
repeat wait() until game.Players.LocalPlayer.Character
local can = false
for i = 1,#peoplewhocansee do
if game.Players.LocalPlayer.Name == peoplewhocansee[i] then
can = true
end
end
if can == true then
print("yeya")
else
script.Parent:Destroy()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
