game:GetService("Studio") is nil

I’ve never expirienced anything like this.


Anybody knows why this happens?

1 Like

image
iirc the command line is a lower execution level than plugin scripts

2 Likes

Use game:GetService("StudioService")

1 Like

I was using it in a plugin, which broke it.

1 Like

StudioService and Studio is not the same thing.

1 Like

Is it not?

StudioService provides access to configuration of Roblox Studio, allows importing files from the user’s file system, and other miscellaneous information. It is intended to be used by Plugins in order to provide a consistent user experience.

1 Like

Studio is very deprecated and doesn’t do anything at all anymore

StudioService should be used instead

1 Like

Doesn’t show up as deprecated on the official documentation

1 Like

Studio contains your roblox studio settings, studioservice doesnt

1 Like

That is correct.

Character limit lol

1 Like

Sorry, not very proficient in plugin development. Hope you find a solution.

1 Like

The last time I looked at it, it showed as deprecated.

1 Like

If you’re intending to access the user’s Studio information (such as theme, script editor colors, etc), then you need to use the settings global instead.

6 Likes

@HugeCoolboy2007 is correct.

How to get Studio’s current setting:

settings().Studio.Theme

Also, the Studio Class isn’t deprecated. I looked at the API Dump. @AmoraFolf

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.