GetRemoteBuildMode (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
GetRemoteBuildMode( )
Returns bool
Description: When called from a Edit or build mode, this returns false. When called from the client, this returns true.
Member of: DataModel


Example
While in Server (Edit/Build) mode:
print(game:GetRemoteBuildMode())

Output:
false

While in Client:

print(game:GetRemoteBuildMode())

Output:
true