Roblox API Reference

ScriptContext On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (6)

Type Member History
bool ScriptsDisabled 53 53 468 468
void AddCoreScriptLocal (string name, Instance parent) 166
Array GetCoverageStats () 356
void SetTimeout (double seconds) 151
Error (string message, string stackTrace, Instance script) 135
ErrorDetailed (string message, string stackTrace, Instance script, string details, int securityLevel) 417 442
51 members inherited from Instance

Removed member index (17)

Type Member History
int GarbageCollectionFrequency 50 50 49 49 50 50 214
int GarbageCollectionLimit 50 50 49 49 50 50 214
void AddCoreScript (int assetId, Instance parent, string name) 272
void AddStarterScript (int assetId) 273 272 273
Tuple GetHeapStats (bool clearHighwaterMark = true) 50 49 50 310
Array GetScriptStats () 50 50 49 49 50 50 310
void LibraryRegistrationComplete () 52 168
void RegisterDevelopmentLibrary (string libraryName, Instance scriptInstance) 52 168
void RegisterLibrary (string libraryName, string assetId) 52 168
void RegisterRobloxLibrary (string libraryName, string assetId) 52 168
void ResetCoverageCollection () 356 401
void SetCollectScriptStats (bool enable = false) 50 49 50 310
void SetCoverageFilter (Function callback) 356 400
void StartCoverageCollection () 356 401
void StopCoverageCollection () 356 401
CamelCaseViolation (Instance object, string member, Instance script) 310
NonScriptableAccess (string property, Instance script) 76

History

Members

AddCoreScriptLocal On DevHub

Name Type Default
name string none
parent Instance none

History

Error On DevHub

Name Type Default
message string none
stackTrace string none
script Instance none

History

ErrorDetailed On DevHub

Name Type Default
message string none
stackTrace string none
script Instance none
details string none
securityLevel int none

History

GetCoverageStats On DevHub

Name Type Default
No parameters.

History

ScriptsDisabled On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.

History

Tags: [Hidden]

SetTimeout On DevHub

Name Type Default
seconds double none

History

Removed members

AddCoreScript

Name Type Default
assetId int none
parent Instance none
name string none

History

AddStarterScript

Name Type Default
assetId int none

History

CamelCaseViolation

Name Type Default
object Instance none
member string none
script Instance none

History

GarbageCollectionFrequency

History

GarbageCollectionLimit

History

GetHeapStats

Name Type Default
clearHighwaterMark bool true

History

GetScriptStats

Name Type Default
No parameters.

History

LibraryRegistrationComplete

Name Type Default
No parameters.

History

NonScriptableAccess

Name Type Default
property string none
script Instance none

History

RegisterDevelopmentLibrary

Name Type Default
libraryName string none
scriptInstance Instance none

History

RegisterLibrary

Name Type Default
libraryName string none
assetId string none

History

RegisterRobloxLibrary

Name Type Default
libraryName string none
assetId string none

History

ResetCoverageCollection

Name Type Default
No parameters.

History

SetCollectScriptStats

Name Type Default
enable bool false

History

SetCoverageFilter

Name Type Default
callback Function none

History

StartCoverageCollection

Name Type Default
No parameters.

History

StopCoverageCollection

Name Type Default
No parameters.

History

Relevant classes (1)