The article links in the note at the top of Chat:SetBubbleChatSettings are broken
https://developer.roblox.com/en-us/api-reference/function/Chat/FilterStringAsync
In the red warning it states that developer ‘maybe subject to moderation action’, this should be ‘may be subject to moderation action’
https://developer.roblox.com/en-us/api-reference/function/Chat/FilterStringAsync
The first word in the description is:
FilterStringAsyc
While it should be:
FilterStringAsync
https://developer.roblox.com/en-us/api-reference/function/Chat/FilterStringForBroadcast
This article does not put the note shown at the end of the description in a red box and it also does not put the fact that localscript use is deprecated in a yellow box unlike https://developer.roblox.com/en-us/api-reference/function/Chat/FilterStringAsync
Also, both articles use the word ‘games’ rather than ‘experiences’.
https://developer.roblox.com/en-us/api-reference/property/Model/WorldPivot
Missing end paren in code block:
model:PivotTo(CFrame.new(0, 10, 0) -- This works without needing to explicitly set "model.WorldPivot"
Should be:
model:PivotTo(CFrame.new(0, 10, 0)) -- This works without needing to explicitly set "model.WorldPivot"
There should be a space between Game Settings and menu. Here’s how it currently looks:
Also, in the Awarding a Badge snippet, there is an erroneous end)
at line 11 that should not be there:
A similar issue occurs in the Checking Earned Badges snippet:
https://developer.roblox.com/en-us/api-reference/function/Player/RequestStreamAroundAsync
Broken link to the RemoteEvents page under the Code Samples, Streaming Requests section.
https://developer.roblox.com/en-us/api-reference/event/UserInputService/WindowFocusReleased
RemoteEvents are called ‘RemoveEvents’ is this API reference. Also, it says ‘name’ rather than ‘named’…
https://developer.roblox.com/en-us/articles/Selection-Boxes
In “An adornee what it shows up on”, there should be an “is” between “what” and “it”. I think there should also be an s at the end of “require”, the second word in the sentence, though maybe the correct fix would be to make SelectionBox plural. I think there should also be a comma after “objects” in the first sentence.
This is nitpicking, but the comma in the last sentence should be replaced with a semicolon.
The highlighted comma should be a period. The code currently works, but the typo makes the selection box yellow instead of gray.
https://developer.roblox.com/en-us/api-reference/datatype/CFrame
The description for CFrame.fromEulerAnglesYXZ is incorrect.
Currently, it says that the rotations are applied in Y, X, Z order. It should instead say that rotations are applied in Z, X, Y order because CFrames multiply from the right.
The function table.getn() shouldn’t be in the documentation if it’s deprecated (at least add a comment that it’s not working). Btw, why on earth is it deprecated? What’s more common than getting the length of a table??
https://developer.roblox.com/en-us/api-reference/lua-docs/table
Deprecated stuff absolutely must be documented, as programmers updating old content would need to know how old stuff worked in order to maintain feature parity.
I cannot seem to confirm that table.getn
is broken - if this is the case, the Engine Bugs
topic is where to post about that. If it’s the documentation which is wrong, create a new thread in this topic to describe the issue, since this thread is for small typos, not factual errors.
Finally, table.getn deprecated in favor of the unary # operator, e.g. #{4,3,2,1}
would produce 4. Functionally, they are identical. In the old version of Lua which Roblox’s Luau is based off, you used to have more control over the array portion of tables’ memory, i.e. there used to be a table.setn. Source: Programming in Lua 19.1
While the # is a good solution, it doesn’t work for more complicated situations like dictionaries. Look at the post I’m linking here; it’s a year old, talking about how the table.getn() doesn’t work. So until they fix it, I would hope for an Astrix about deprecation so that other developers won’t waste time on this issue.
On the GetUserInfosByUserIdsAsync page, the code block at the bottom shows a line of code saying:
return Players:GetUserInfosByUserIdsAsync({ 8000 })
This line is confusing as it makes it seem as if the method is a member of the Players service, which it isn’t. Even though the code doesn’t directly error because it depends on what the Players variable would be, it surely doesn’t help newcomers who look at the code as they might think it’s the Players service.
The table.foreach
function is applicable to both dictionaries and arrays, not just arrays. However, the documentation on the table page shows:
table.foreach(array t, function f)
It should be:
table.foreach(table t, function f)
https://developer.roblox.com/en-us/api-reference/function/Camera/Zoom
The warning on this page is a mixture of languages
"
RobloxScriptSecurity
此成员只能由 CoreScript 访问。尝试在 CoreScript 之外访问此成员将导致错误。"
https://developer.roblox.com/en-us/api-reference/enum/Technology
Create a screenshot sample for “Future” lightning: