I need a answer when u have a gui u get to have the gui when u buy the gamepass :O?
✓ 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.

1 comment
Please read this blog post about asking questions on Scripting Helpers: https://scriptinghelpers.org/blog/posting-good-questions-and-answers-on-scripting-helpers