This is a script I'm using to show a gui to only one person. Here is the script. Please if I do have some things wrong don't down vote....
script.Parent.Visible = false
local modscreen = script.Parent
local player = game.Players.LocalPlayer
if player.Name == "DigitalZer3" then
script.Parent.Visible = true
end
if player.Name ~= "DigitalZer3" then
print("k")
end
if player.Name == "DigitalZer3" and script.Parent.Visible == true then
print('its alive!')
end
PLEASE IF I HAVE SOMETHING WRONG CORRECT IT, IT WOULD BE VERY HELPFULL. :D

6 comments
Seems good.
Ty :D
no problem :D
One comment, the local for modscreen seems pointless, as it isnt being used in this block.
You have a capital in Digitalzer, but your name is digitalzer. Lua is cap sensitive. So be careful with that.
^ My actual roblox name is DigitalZer3 with caps :P.