game:GetObjects() Lags Out Studio

While writing the syntax highlighter for StudioCLI, I happened to use the package manager to test something and then noticed my entire Studio window got slower at mouse input, and panning around the viewport, and doing the native syntax highlight in the script editor. The install method uses game:GetObjects() under the hood, so I repeatedly put

game:GetObjects("https://www.roblox.com/asset/?id=7347744413")[1].Parent = workspace

in the command bar and noticed Studio getting laggier and laggier until it couldn’t handle it anymore.

Is anyone else experiencing this issue? Could this be an internal issue with game:GetObjects()? Or am I simply doing something wrong?

1 Like

Update on this - it seems that when using the command bar and using rbxassetid://ID-HERE, it doesn’t lag. However, the plugin, which uses rbxassetid://ID-HERE, continues to lag.