General Functions
ClearConsole​
Syntax
ClearConsole()
CalcTextWidth​
Syntax
CalcTextWidth(text)
Parameters
- Text
<string>- Text to calculate.
Returns
A number regarding the width of the text.
MatrixToEulers​
Syntax
MatrixToEulers(CFrame)
Parameters
- CFrame
<matrix>- A matrix, table of 9 values.
Returns
{x,y,z}
Size​
Syntax
size()
Returns
- size().width - returns width
- size().height - returns height
ShowConsole​
Syntax
ShowConsole(show)
Parameters
- Show
<bool>- True or False value.
Teleport​
Syntax
Teleport(character, position)
Parameters
- Character
<pointer>- pointer to character. - Position
<table>- A table with position to teleport to. e.g{x, y, z}
Returns
a pointer(number) to the instance.
WorldToScreen​
Syntax
WorldToScreen({ position })
Parameters
<table>a table of position.
Returns
- a table filled with the screen-position of a world-position.
-
WorldToScreen({.,.,.}).x- returns screenposition x -
WorldToScreen({.,.,.}).y- returns screenposition y