About 192,000 results
Open links in new tab
  1. What is “return” and what’s its use in roblox scripting?

    Jun 22, 2020 · Hey guys, so I have been searching for so much time, I have watched so many videos, read some articles, and I still don’t understand the point of the code “return” in a …

  2. What does 'return' do? - Scripting Support - Developer Forum

    Feb 12, 2019 · Does a ‘return’ statement restart a ‘while true do’? I’ve looked it up and still don’t understand what it does.

  3. Animation Length is 0? - Scripting Support - Roblox

    May 19, 2025 · Hello, the following script is supposed to play an animation for an item drop upon player action (indicated by function ChestPools:spawnItem). The animation also has several …

  4. How to make a item collect quest system - DevForum | Roblox

    Sep 3, 2024 · im making a goofy horror game and theres an npc, and idk how to make so that theres a dialouge of him asking if we can get an apple for him, and theres 2 choices: ok, heres …

  5. Pick random item based on percentages - Roblox

    May 6, 2019 · } local getRandomItem = math. random (1, percentages) print ('Item won: ' .. getRandomItem) Basically, what I’m trying to do is the print should return the item that was …

  6. Bypassing __metatable [Luau stack manipulation] - Roblox

    Apr 17, 2025 · Hello! I’m trying to rewrite getrawmetatable() in pure Luau. For those who don’t know, this is a function commonly used in exploits to retrieve an item’s metatable bypassing …

  7. Best practice for storing and getting item data for a ... - Roblox

    Jul 28, 2023 · This allows you to change properties of the item in the future, and also prevents saving unnecessary data in the player’s data. You would fetch the item data via a module …

  8. How do I pick a random item from a dictionary - Roblox

    May 30, 2023 · So basically I need to get a random item from a dictionary. I cant figure it out. So how do I do it?

  9. I dont understand if then return end - DevForum | Roblox

    Apr 6, 2021 · Hello, I am a scripter still learning and there is one thing I need help understanding This thing I need help with is if then return end I’ve been looking on youtube and can’t find any …

  10. Placement system bug - Scripting Support - Roblox

    Jun 23, 2025 · What do I want to achieve? Hello!, I want to achieve a item placement system like bloxburg, fast food simulator, etc What is the issue? for some odd reason i’m having 2 very …