Typos & Minor Edits Mega-thread [Closed]

In Class Modifiers

local match1 = string.match("The Cloud Kingdom has 25 power gems", "%d")
print(match1) -- 2
local match2 = string.match("The Cloud Kingdom has 25 power gems", "%d+")
print(match2) -- 2

print(match2) -- 25
1 Like

In the section for PlayerGui:GetGuiObjectsAtPosition() it says that it returns a list of GuiObjects, but it would be helpful if it gave more detail. It actually returns a sorted list, based on which GUI objects are rendered on top - Something that makes this function significantly more practically useful to people considering using it.

1 Like

‘Bathroom’ item in the list says:

Sound reverb is changed to sound like the player is a bathroom.

This should be changed to:

Sound reverb is changed to sound like the player is in a bathroom.

3 Likes

Wouldn’t be surprised if this partly a joke.

1 Like

Syntax mistake in the VRService code example.
https://developer.roblox.com/en-us/api-reference/class/VRService

The line in question:

print(typ.Name + " changed. Updated Frame: " + value)

Using ‘+’ to concatenate strings is not valid Lua. It works in other languages such as C++ though. The line should instead use Lua’s concatenation, like so:

print(typ.Name.." changed. Updated Frame: "..value)

1 Like

Formatting error for getfenv()

On AnimationClipProvider | Roblox Creator Documentation,
the word “Povides” in the description is misspelled.

Article 17 has an issue, link also contains these parantheses so it doesn’t open up if I don’t remove it from the url.

https://create.roblox.com/docs/reference/engine/classes/ContextActionService

Under “why bind actions contextually” it says “in the context of the action begin performed” instead of “being performed”

On roblox docs, the article about metatables on both __lt and __le the symbols of the greater than and greater than / equal have the greater than sign replaced with less than sign.

The operators seem to have been taken by HTML tags
<

image

Typo of “DevForum”

Creating an Animation is titled as Building a Hinged Door on the Tutorials page.

1 Like

TextBox.FocusLost description is misleading. It shares the same definition as TextBox.Focused

https://create.roblox.com/docs/reference/engine/classes/TextBox#FocusLost

3 Likes

Using MicroProfiler page forgets the “m” in problem
firefox_2pafOJ9p6l

Same page also lacks the continuing reference of “it” in front of will
image

1 Like

Remove the double brackets on the comment:

On the SpringConstraint page under summary of properties constraint is misspelled in damping

1 Like

I’m pretty sure you need them for multi-line comments without adding a -- to each line.

2 Likes

Hi Developers,

We want to thank you for reporting all of these issues. We have now resolved all issues and are now closing this thread.

If you wish to flag any new Documentation issues, please comment in the new thread if you don’t have permissions to use the reporting tool.

Thank you.

16 Likes