Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you make gui disappear if a player has premium?

Asked by 4 years ago

I have a premium area and I was wondering how my gui above the teleporter would disappear if they had premium, or if it is the same as owning a gamepass?

1 answer

Log in to vote
0
Answered by
synkrio 281 Moderation Voter
4 years ago
if player.MembershipType == Enum.MembershipType.Premium then
    gui.Enabled = false
end
0
Thank you sir. kodakpro87 7 — 4y
Ad

Answer this question