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

How do I make a premium only player gui?

1 answer

Use it in local script inside starter player script.

Make sure your gui is NOT checked to reset when respawn.

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local GUI_NAME = "Name"
if player.MembershipType == Enum.MembershipType.Premium then
	local GUI = player.PlayerGui:FindFirstChild(GUI_NAME)
	if GUI then
		GUI.Enabled = true
	end
end

More details and articles about membership type:Wiki.

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