Typos & Minor Edits Mega-thread [Closed]

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

GetFriendsOnline returns GameId and the name says GameId. But it used to return JobId and the description says JobId.

https://developer.roblox.com/en-us/api-reference/function/Player/GetFriendsOnline

LoadAsset page says workpsace instead of workspace.

2 Likes

Someone echoed at Lua Globals print.