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

How do I make a gui only one person can see and click?

Asked by 10 years ago

not much to say here...

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
10 years ago

I made it so when they respawn, they still have it.

Access = {"hi"}
a = game.Lighting["Name of gui"]

game.Players.PlayerAdded:connect(function(p)
    p.CharacterAdded:connect(function(character)
        for i,v in pairs(Access) do
            if p.Name:lower() == v:lower() then
                a:clone().Parent = p.PlayerGui
            end
        end
    end)
end)

~Thank me by accepting this answer/bumping up my reputation!

Ad

Answer this question