make a gui only visible to a certain player roblox studio code example
Example: making a gui that can only be visible by owner roblox
local players = game.Players.LocalPlayer
local gui = script.Parent.Frame -- location of the ui
if players.Name == "DrxpLoxs" then
gui.Visible=true
else
print("User is not me, gui hidden")
end