Skip to main content

math.randomseed

Seeds the random number generator. The same seed will guarantee the same sequence of numbers each time with math.random. Incorrect usage of this function will affect all loaded scripts.

math.randomseed(seed: number)

Arguments

NameDescriptionType
seedN/Anumber