Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would one check if they are offline in RBX Studio?

Asked by 7 years ago

RemoteBuildMode, PlaceId==0, CreatorId==0 are actually invalid ways to check if you are in offline/studio mode as they do not work with the most recent version(s) of RBX Studio.

Alternatives?

1 answer

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

An easy alternative would be to use the RunService functions. For example, the IsStudio function. This function return's a boolean, true if called from studio, false if not.

game:GetService("RunService").IsStudio() -> true or false

Also suggest looking at the RunService functions as there are a couple more functions available to help you with your problem.

Ad

Answer this question