This also isn’t correct.
Roblox’s game servers are normally rented from other rack server providers, many of which are the same buildings used for cheap VPS hosting - so someone can buy a VPS in the same facility as Roblox’s Servers and impersonate a server if you whitelist those addresses.
Solution: Introduce an Authentication Key on your Roblox Servers?
I agree with @unix_system. What I do is a mixture of an authentication key + restricting access to the Roblox UserAgent. But the former is probably the best bet.
if ($request->header('User-Agent') == "RobloxGameCloud/1.0 (+http://www.roblox.com)") {
return $user;
} else {
return response()->json([
'message' => 'This resource can only be called from an active Roblox game server',
], 403);
}