I have no knowledge about this, if anyone can teach me how I would appreciate it.
The Player
object has a property called MembershipType
. This is a read-only property that returns a Enumerical Value (Enum) of their membership type.
It'll return the membership type that you are.
We can hook it up to a PlayerAdded
event to get their membership type.
game.Players.PlayerAdded:Connect(function(plr) print(plr.MembershipType) end)
This is quite simple. A google search gave me the answer! Here's a link to a website I found that covers it. https://www.robloxdev.com/api-reference/property/Player/MembershipType
If you can't be bothered to read trough that here's the function I used that I called upon the player inside of players folder. MembershipType A example on how to see what Membership somebody is you can do it like this.
print(game.Players.LocalPlayer.MembershipType)
Have a great day!