So I got a system on my cafe for a quick order. I made it so only people with a gamepass can use it. But I can't use it since I don't own the gamepass even tho its on my own place. So I want to know how I could make certain people use the system even tho they don't have the gamepass. So when the person has the gamepass or has the name, the button on the surface gui would show, but if not then it wouldn't show.
Assuming the script contains a simple script checking the gamepass in a way like;
if game:GetService("GamePassService"):PlayerHasPass(player, id) then print(player.Name .. " has the game pass!")
you could simply add
if game:GetService("GamePassService"):PlayerHasPass(player, id) or player.Name == "YourNameHere" then --player.Name is assuming you used the game.Players.PlayerAdded:Connect(function(player) method to create a player variable print(player.Name .. " has the game pass!")