Roblox Wiki
Roblox Wiki
36,970
pages

Deprecation is when a class or a member of a class is superseded by another class or member of a class (mostly for compatibility & features) and is discouraged by Roblox to use such class or member of a class. These classes are hidden from users and do not normally appear on the Developer API Reference unless enabled by the user. It is advised to not use these because some of these classes will not maintain support and will eventually become obsolete. However, it is believed that Roblox still gives the deprecated role usually instead of removing the class or member of a class entirely because older games may still use deprecated classes or deprecated members of classes.

Examples of deprecated classes/members of classes would be:

  • Mouse was superseded by UserInputService and ContextActionService, which are more suitable for cross-platform patterns & have more features.[1]
  • MeshPart.MeshID was superseded by MeshPart.MeshId for unknown reasons.[2]
  • Flag was deprecated and was not superseded by anything because Roblox wants developers to design their own flag systems now.[3]
  • Hint was deprecated and was superseded by TextLabel, which is more feature-rich.[4]
  • DoubleConstraintedValue & IntConstraintedValue were deprecated because developers could use the math.clamp() function to constraint values (set a Double/Integer value with a minimum & maximum value.)[5][6]

Deprecated Classes[]


Deprecated Members[]


References[]