PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

IsGearTypeAllowed

This function returns whether gear of the given Enum/GeareType is permitted to be added to Player|Players’ StarterGear|StarterGears. For example:

local meleeWeaponsAllowed = game:IsGearTypeAllowed(Enum.GearType.MeleeWeapons)

Whether gear of a specific Enum/GearType is permitted in the game is determined in a place’s settings page under ‘Permissions’. Note, all of a gear’s associated Enum/GearType|GearTypes must be enabled for it to be permitted in a place.

Parameters

Name Type Default Description

The given Enum/GearType

Returns

Return Type Summary

Whether gear of the given Enum/GearType is permitted in the game