Typos & Minor Edits Mega-thread [Closed]

The Region3 Pages’ example suggests

local terrain = game:WaitForChild("Terrain")

Line 5 ^

is valid, its not a child of game, it’s a child of the workspace, this may be confusing to new developers. :slight_smile:

3 Likes

:FindPartOnRay() page is missing what this method should return. I’m pretty sure it returns a lot of stuff such as the found part, the exact point of intersection, the face that was touched (I think), and the material of the part.

4 Likes

The ChatColor Enum says “ChatStyle” in the description, which is a completely different thing.

image

5 Likes

https://developer.roblox.com/en-us/api-reference/lua-docs/string

It would be nice if string.gsub return types were annotated as string, int since it returns two values, the second one being how many replacements were made.

string.find's return types are properly annotated this way.

Also number is the incorrect type for plain. It should be bool.

6 Likes


Broken image in WorldToViewportPoint
https://developer.roblox.com/en-us/api-reference/function/Camera/WorldToViewportPoint

3 Likes


Hasn’t been solved yet.

5 Likes

The “Asset Types” hyperlink on the MarketplaceService:GetProductInfo() page, when clicked, leads to the 404 error page because it doesn’t exist, when it should lead to this page: AssetType

3 Likes

The Ray page has a broken link to Workspace:FindPartOnRay(), which has been changed to WorldRoot:FindPartOnRay().

4 Likes

Malformed sentence and broken link on the Tool.Enabled page.

Can’t believe Roblox of all companies has resorted to name-calling against their users

8 Likes

Minor typo on the AnimationTrack.Priority page.

3 Likes

@Ozzypig

a broken image/video in Humanoid.MaxSlopeAngle

2 Likes

https://developer.roblox.com/en-us/api-reference/property/DataModelMesh/VertexColor

VertexColor page says huge change instead of hue.

5 Likes

Minor typo on the PreferredPlayers page. There should be no is in the sentence.

2 Likes

Typo in the wiki at the following link:
I think “of” should be “Off”
https://developer.roblox.com/en-us/api-reference/function/Player/LoadCharacter

2 Likes

Minor typo on the Humanoid.Health page. There should be no will in the sentence.
typo1

1 Like

Page
image

1 Like

Syntax mistake in the VRService code example.

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)

2 Likes

Ambient


https://developer.roblox.com/en-us/api-reference/property/Lighting/Ambient
Broken image and links

OutdoorAmbient


https://developer.roblox.com/en-us/api-reference/property/Lighting/OutdoorAmbient
Broken image and links

Broken image in the Humanoid.Jump page:

image

coroutine.wrap returns a function, not a thread

https://developer.roblox.com/en-us/api-reference/lua-docs/coroutine