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.
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.
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
On the page https://developer.roblox.com/en-us/api-reference/function/HttpService/GetAsync, there is a dead link.
On the Tool.RequiresHandle page
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.
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))
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.
At the top of the Terrain post the “NotCreatable” notice is in Chinese even though language is set to English.
The visualization image is broken here -
https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo
LoadLibrary
should be removed from the Roblox Globals page now that it has been officially removed.
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.
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.
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
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”
This could be altered to “This property determines the origin of a GUI
, which is relevant to its absolute size” instead.
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.
: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.
The ChatColor Enum says “ChatStyle” in the description, which is a completely different thing.