is there a way to make a script so that only certain people can open a gui?
Simple script when a player touches a part a gui appears. You could create a table of names and have it check the table to allow it to open.
local function onTouch(part) if part.Name == "Head" and part.Parent.Name == localPlayer.Name then gui.Visible = true end end local function onTouchEnded(part) if part.Name == "Head" and part.Parent.Name == localPlayer.Name then gui.Visible = false end end store.Touched:connect(onTouch) store.TouchEnded:connect(onTouchEnded)