Typos & Minor Edits Mega-thread [Closed]

local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer -- from a LocalScript
local mouse = Player:GetMouse()

typo is that mouse = Player; the Player is undefined; should be localPlayer.

4 Likes

In the code example on the bottom on this line

 if teleportResult == Enum.TeleportResult.Failiure or teleportResult == Enum.TeleportResult.Flooded then

It says Enum.TeleportResult.Failiure instead of Enum.TeleportResult.Failure

6 Likes

On the page https://developer.roblox.com/en-us/api-reference/function/HttpService/GetAsync, there is a dead link.
image

5 Likes

On the Tool.RequiresHandle page


This description is backwards. The tool will activate and deactivate without a handle if the property is set to false. The tool will not function without a handle if the property is set to true.

5 Likes

On the page https://developer.roblox.com/en-us/api-reference/class/HttpService, It says:

be sure to enable HTTP Requests in your Game Settings (Home > Game Settings).

To avoid any confusion, consider changing it to this:

(Home > Game Settings > Options)

Even if it’s like very minor confusion, I’d still just change it.

6 Likes

Lines 6 and 11 in the sample code for CanSendGameInviteAsync and PromptGameInvite use pcall incorrectly.

Line 6: local res, canSend = pcall(SocialService:CanSendGameInvite(targetPlayer))

Line 11: local res, canInvite = pcall(SocialService:PromptGameInvite(targetPlayer))
6 Likes

BodyVelocity

5 Likes

AllowThirdPartySales simply says uses instead of users.

6 Likes

The MouseButton1Down page and MouseButton2Down page seem to very confused on what button does what. The MouseButton1Down page explains what MouseButton1Down does but using MouseButton2Down. Then the MouseButton2Down page says it is activated when the left mouse button is clicked.

11 Likes

At the top of the Terrain post the “NotCreatable” notice is in Chinese even though language is set to English.
e

6 Likes

The visualization image is broken here -

https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo

image

5 Likes

LoadLibrary should be removed from the Roblox Globals page now that it has been officially removed.

4 Likes

The Limb Enum page mentions R16 in every case where R15 should be displayed.

8 Likes

The Emit method page has a broken link due to a misspelling of Enabled.

6 Likes

2 small issues here:

1. ContentProvider:PreloadAsync() Code Example description incorrect.

The code example shown on the PreloadAsync page states, “In this example a Decal and Sound are preloaded into a game. Once they have finished loading the script will print a message to the output.”

However, there is no sound shown; only 2 images, and it doesn’t print anything.

Image of the page


2. UserInputService InputBegan & InputEnded Code Examples have an unused variable.

Both examples have a variable called keyPressed, but it doesn’t get used. For simplicity sake, I include both since they basically share the same example code aside from one using InputBegan and the other using InputEnded in its place.

Image of the page

4 Likes

In the article on the Release Notes for 423, the first note has two instances of dead links due to misspelled class names.

UIGradient is written as “Gradient” and ParticleEmitter is written as “Particle.”

https://developer.roblox.com/en-us/resources/release-note/Release-Notes-for-423

4 Likes

This page explaining the AnchorPoint property has a mistake where it tries to explain what it does.

“This property determines a GUI, which is relevant to its absolute size”

image


This could be altered to “This property determines the origin of a GUI, which is relevant to its absolute size” instead.

5 Likes

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