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

How to make a Gui that shows when u buy the Gamepass?

1 answer

✓ Accepted answer
id = 1337 --Gamepass Id
--this script goes in the Gui. It removes if the owner has no gamepass
plr = script.Parent.Parent.Parent --Should lead to parent of PlayerGui (startergui)
repeat wait() until plr.PlayerGui
if not plr:PlayerHasPass(id) then
	script.Parent:Destroy()
end

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