Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

A VIP GUI that doesn't show when own the gamepass?

Hello there! I'm making a GUI that only is showed when a gamepass is owned. The gamepass is in my game and I'm the owner, so I own it. When testing the system, the GUI wasn't showed. The gui was about of how to use the admin role in my game.

local id = 6211290

game.Players.PlayerAdded:Connect(function(plr)
	if game:GetService('GamePassService'):PlayerHasPass(plr,id) then
		plr.PlayerGui.AdminTutorial.BackGround.Visible = true
	end
end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.