Skip to content

A simple module to help you convert datatypes into other datatypes.

Notifications You must be signed in to change notification settings

R0bl0x10501050/Convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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!

About

A simple module to help you convert datatypes into other datatypes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages