Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.29 KB

README.md

File metadata and controls

57 lines (44 loc) · 1.29 KB

Convert Module

Quick & easy data conversions

Setup:

  1. Open a new script in ServerScriptService.

  2. Require the module:

local Convert = require(6183613353)
  1. Use one of the methods listed below.

Methods:

Convert.UDim2ToVector2(udim2)

udim2 - Needs to be an UDim2 value

Convert.Vector2ToUDim2(vector2)

vector2 - Needs to be a Vector2 value

Convert.StringToBool(str)

str - Needs to be a string value

Convert.BoolToString(bool)

bool - Needs to be a boolean value

Convert.Color3ToBrickColor(color3)

color3 - Needs to be a Color3 value

Convert.BrickColorToColor3(brickcolor)

brickcolor - Needs to be a BrickColor value

Convert.Vector3int16ToVector3(vector16)

vector16 - Needs to be a Vector3int16 value

Convert.Vector3ToVector3int16(vector3)

vector3 - Needs to be a Vector3 value

Convert.Vector3ToCFrame(vector3)

vector3 - Needs to be a Vector3 value

Convert.CFrameToVector3(cframe)

cframe - Needs to be a CFrame value

Conclusion

Thanks for stopping by to read this! If you have any ideas for more conversions, just PM me on the DevForum:

## Idea
(Idea here)

See you with my next module!