SetMembershipType (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
SetMembershipType( MembershipType membershipType )
Returns nil
Description: Sets the MembershipType to the argument.
Member of: Player


The SetMemberShipType method is a locked method, but allows you to set the MembershipType of an inputted user.

Example
If not locked, this would set the membership to OutrageousBuildersClub:
game.Players.LocalPlayer:SetMembershipType( Enum.MembershipType.OutrageousBuildersClub )