How to refund items in Roblox
local defaultAmount = 100 -- you can imput the number manually or make it count automatically with the power of scripting local currentAmount = 0 for i, part in pairs(building:GetDescendants()) do if part:IsA("BasePart") then currentAmount = currentAmount + 1 end end if currentAmount <= defaultAmount/2 then --regen end 1 Like mobyboyy(mobyboyy)
Roblox does not offer a possibility of a refund or exchange of Robux at this time. They do say that some exceptions can be made at their own discretion. This means that even though there is no obligation for Roblox to refund anything, they are willing to take some cases into consideration.
This is what you need to do to request a Roblox refund online:
Once you’re on the Roblox support form, you’ll see a “Contact Information” header.
After you’ve copied the item’s URL, you need to provide it in the support form.
The keyword return can be used to take information from a function, and allow it to be used wherever the function was called originally. If your friend asked you for something in another room, you would go get it and bring it back. When a function is called, the script goes to the function, and then returns with a value.
return ends the function, causing the script to go back to where the function was called originally. This allows a returned value of one function to be used inside a second function. Test this out with print ().
Variables can also be used to call functions and store the values received from a function. In this case, a variable will be used to run makeCake () and receive a cake in game.
Sometimes you may want multiple values returned from a function. An in-game example would be returning how many wins, losses, and ties, a player has.
The keyword return can be used to take information from a function, and allow it to be used wherever the function was called originally. If your friend asked you for something in another room, you would go get it and bring it back. When a function is called, the script goes to the function, and then returns with a value.
return ends the function, causing the script to go back to where the function was called originally. This allows a returned value of one function to be used inside a second function. Test this out with print ().
Variables can also be used to call functions and store the values received from a function. In this case, a variable will be used to run makeCake () and receive a cake in game.
Sometimes you may want multiple values returned from a function. An in-game example would be returning how many wins, losses, and ties, a player has.