About 327,000 results
Open links in new tab
  1. How to reference numbers? - Scripting Support - Roblox

    Sep 8, 2020 · How do I reference numbers? For example, In my game I have this checkpoint system, each checkpoint is named: “1”; “5” etc. When I did a WaitForChild this auto completed:

  2. Pass by reference? - Scripting Support - Developer Forum - Roblox

    Apr 2, 2019 · Crazyman32: In Lua, passing by reference vs. passing by value is implicit. Functions, tables, and userdata are passed by reference, while strings, numbers, and booleans are passed by …

  3. How do I reference a object? - Scripting Support - Roblox

    Jan 26, 2022 · I’m in the middle of making a marble race inside of Roblox Studio and I want to make a platform that teleports the marble to another position, I know how to reference a player, but how do I …

  4. Type Annotations! A guide to writing Luau code that is ... - Roblox

    Feb 18, 2024 · Welcome! This tutorial aims to help people understand Luau’s type annotation feature, and how to write code that’s smarter and easier for other experienced developers to pick up and …

  5. Is it possible to get an instance's reference id? - Roblox

    Sep 5, 2022 · I want to be able to get an instance’s unique reference id (the kind that is printed when setting an instance as a dictionary key) in order to add a string at the end of it for indexing a table …

  6. How to find an object by it's instance reference / id? - Roblox

    Oct 4, 2021 · How to find an object by it's instance reference / id? Help and Feedback Scripting Support instance

  7. Referencing and Hierarchy in Roblox | Tutorial

    Feb 4, 2021 · Hello there! This tutorial is meant for beginners, although anyone is more than welcome to follow along. This will cover referencing items and how relationships between the items are. Lets get …

  8. How to put a part with numbers in it's name into a script - Roblox

    Dec 11, 2022 · game.workspace["2a"].Value.Value = -- blah blah blah This way you can use a number in a part name and still have the script refer to the part correctly.

  9. How do you handle numbers larger than the max? - Roblox

    Aug 6, 2018 · When using numbers on Roblox, there is a max number, which I believe is 2,147,483,647 . However, some people get around this, such as Mining Simulator: What methods can you use to do …

  10. How would I pick a random number between 0.9 and 1.1? - Roblox

    Jun 10, 2020 · The PlaybackSpeed of the Sound is supposed to randomly change to any number between 0.9 and 1.1, but I currently do not know how to do this without setting up an excruciatingly …