/Custom-Random

Roblox library for generating random numbers.

Primary LanguageLua

Custom Random

Custom Random is a module for generating all types of data like a Point on a sphere.

API

InsideUnitCircle() -> Vector2; Returns a point in a circle with a radius of 1

insideUnitSphere() -> Vector3; Returns a point in a sphere with a radius of 1

RandomColor3 -> Color3; Returns a random Color3

RandomEnum(enumType: Enum) -> EnumItem; Returns an EnumItem

InsideUnitCube() -> Vector3; Returns a random point in a cube with a size of 1

OnUnitSphere() -> Vector3; Returns a random point on a sphere with a radius of 1

Examples

Examples may be find in examples folder