How to know if the player is on Roblox studio?

I would like to know if it is possible to know if the player is on Roblox studio like this:
On roblox studio :


Not on roblox studio :

2 Likes

Uhhhhh I don’t think that would be possible, but I could be wrong.

1 Like

You can’t do that from a studio itself, are you asking like doing it using another programming language?

Also, what are you trying to do here exactly?
@pageotkillian1

1 Like

No, I’m just trying to create a plugin to save ram when the player isn’t on roblox studio.

Well you can’t detect when someone isn’t on studio that’s not a thing

ok thanks for your help

Ignore this text

You can, if you use game:GetService("Run Service"):IsStudio in a local script, it returns a boolean (true or false) true if the player is in roblox studio or false if not. There’s also variations like if the player is in roblox player or not

You can’t detect when a player closes down studio, however you can use RunService:IsStudio() to detect if your client is running the game in studio.

WAIT… I just came realizing that it’s when you have roblox studio running your game, not if you have the roblox studio application opened or not. However, I think there’s a way to check if you have the roblox player opened or minimized… Let me check it…

This could work in your case

I don’t think it can work with a plugin because on the doc it says only when the player is in Client mode.

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