About 264,000 results
Open links in new tab
  1. Random | Documentation - Roblox Creator Hub

    Generates pseudorandom numbers and directions.

  2. How do I use math.random - Community Tutorials - Roblox

    Mar 22, 2023 · In short: math.random() returns a random number. return math. random (1, 6) end print (rollDice()) This script prints a random integer between two numbers (1 and 6). Why is …

  3. math.random | Documentation - Roblox Creator Hub

    Returns a random number within the range provided.

  4. Random-Roblox-Utils/ScriptDumper.lua at main - GitHub

    if not RunService: IsRunning then--// So you can dump scripts in games that do a bit of funny business (I'm mainly trying to patch the things I come up with) local function IsNetworkOwner ( …

  5. Random | Roblox Lua Wiki | Fandom

    This article will explain the usage of the function, math.random(). It can be used to find many different "random" numbers and help randomize things in your scripting. The random function …

  6. Generating a random number from 0.1 to 0.5 - Scripting Support ... - Roblox

    Feb 11, 2021 · To get a random float from the range of [0.1, 0.5) you could do this: math.random() * 0.4 + 0.1 The general formula used in mostly every programming language is random() * …

  7. Lua | Mathematical Library | random() | Codecademy

    Oct 18, 2023 · In Lua, the math.random() function is used to generate pseudo-random numbers. It can be used with or without an argument and in conjunction with the math.randomseed() …

    Missing:

    • Roblox

    Must include:

  8. How do I actually generate a random number - Scripting Support ... - Roblox

    Apr 29, 2024 · Try creating a single Random object at runtime instead of creating a new one every time you call for another random number. This way, you can eliminate the seed being a …

  9. Random-Roblox-Utils/RemoteSpy.lua at main - GitHub

    PlaceVersion), ".lua " local HttpService = game : GetService ( " HttpService " ) local isexecutorfunction = isexecutorfunction or is_synapse_function or isexecutorclosure or …

  10. Mastering Random Lua: Quick Commands Explained

    To generate random numbers in Lua, you primarily use the `math.random` function, which is extremely versatile and easy to work with. The Basics of Random Number Generation. The …

  11. Some results have been removed
Refresh