AuroraScriptService
This class is deprecated. It exists only for backward compatibility, and should not be used for new work.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
| Memory category | Instances |
|---|
Member index 0
Removed member index 16
| History | Member | |
|---|---|---|
| 671 | BufferSize: int | |
| 665 | LocalFrameId: int | |
| 665 | RemoteFrameId: int | |
| 726 | CreateCollection(query: string, root: Instance = Instance): CollectionHandle | |
| 726 | FindBinding(instance: Instance, scriptName: string): Object | |
| 726 | FindBindings(instance: Instance): Dictionary | |
| 726 | GetAllCollections(): Array | |
| 726 | GetLocalFrameId(): int | |
| 671 | GetProperty(instance: Instance, name: string): Variant | |
| 671 | GetTime(): double | |
| 726 | SendMessage(instance: Instance, behaviorName: string, functionName: string, args: Tuple): null | |
| 671 | SetProperty(instance: Instance, name: string, value: Variant): null | |
| 726 | getBehaviorObjects(): Instances | |
| 726 | getBehaviors(): Instances | |
| 726 | getBehaviorsForInstance(instance: Instance): Instances | |
| 726 | getInstancesForBehavior(behavior: AuroraScript): Instances |
Description
History 25
- 726 Remove AuroraScriptService
- 714 Add GetAllCollections
- 713 Change ReturnType of CreateCollection from AuroraHandle to CollectionHandle
- 711 Add CreateCollection
- 689 Add FindBindings
- 689 Add FindBinding
- 686 Add getInstancesForBehavior
- 686 Add getBehaviorsForInstance
- 686 Add getBehaviors
- 686 Add getBehaviorObjects
- 671 Remove SetProperty
- 671 Remove GetTime
- 671 Remove GetProperty
- 671 Remove BufferSize
- 665 Add GetLocalFrameId
- 665 Remove RemoteFrameId
- 665 Remove LocalFrameId
- 661 Add SetProperty
- 661 Add SendMessage
- 661 Add GetTime
- 661 Add GetProperty
- 661 Add RemoteFrameId
- 661 Add LocalFrameId
- 661 Add BufferSize
- 661 Add AuroraScriptService
Removed members 16
BufferSize
| Type | Default | |
|---|---|---|
| int | ||
| Write security | PluginSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | true |
History 2
- 671 Remove BufferSize
- 661 Add BufferSize
CreateCollection
| Parameters (2) | Default | |
|---|---|---|
| query | string | |
| root | Instance | Instance |
| Returns (1) | ||
| CollectionHandle | ||
| Thread safety | Unsafe |
|---|
History 3
- 726 Remove AuroraScriptService
- 713 Change ReturnType of CreateCollection from AuroraHandle to CollectionHandle
- 711 Add CreateCollection
FindBinding
| Parameters (2) | ||
|---|---|---|
| instance | Instance | |
| scriptName | string | |
| Returns (1) | ||
| Object | ||
This function has a custom internal state. It may behave in a non-standard way.
| Thread safety | Safe |
|---|
History 2
- 726 Remove AuroraScriptService
- 689 Add FindBinding
FindBindings
| Parameters (1) | ||
|---|---|---|
| instance | Instance | |
| Returns (1) | ||
| Dictionary | ||
This function has a custom internal state. It may behave in a non-standard way.
| Thread safety | Safe |
|---|
History 2
- 726 Remove AuroraScriptService
- 689 Add FindBindings
GetAllCollections
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 2
- 726 Remove AuroraScriptService
- 714 Add GetAllCollections
GetLocalFrameId
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| int | ||
| Thread safety | Safe |
|---|
History 2
- 726 Remove AuroraScriptService
- 665 Add GetLocalFrameId
GetProperty
| Parameters (2) | ||
|---|---|---|
| instance | Instance | |
| name | string | |
| Returns (1) | ||
| Variant | ||
| Thread safety | Safe |
|---|
History 2
- 671 Remove GetProperty
- 661 Add GetProperty
GetTime
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| double | ||
| Thread safety | Safe |
|---|
LocalFrameId
| Type | Default | |
|---|---|---|
| int | ||
This property is not replicated. Its interface does not cross the network boundary.
| Write security | RobloxSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | false |
History 2
- 665 Remove LocalFrameId
- 661 Add LocalFrameId
RemoteFrameId
| Type | Default | |
|---|---|---|
| int | ||
| Write security | RobloxSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | Data |
| Loaded/Saved | false |
History 2
- 665 Remove RemoteFrameId
- 661 Add RemoteFrameId
SendMessage
| Parameters (4) | ||
|---|---|---|
| instance | Instance | |
| behaviorName | string | |
| functionName | string | |
| args | Tuple | |
| Returns (1) | ||
| null | ||
| Thread safety | Safe |
|---|
History 2
- 726 Remove AuroraScriptService
- 661 Add SendMessage
SetProperty
| Parameters (3) | ||
|---|---|---|
| instance | Instance | |
| name | string | |
| value | Variant | |
| Returns (1) | ||
| null | ||
| Thread safety | Safe |
|---|
History 2
- 671 Remove SetProperty
- 661 Add SetProperty
getBehaviorObjects
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Instances | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 726 Remove AuroraScriptService
- 686 Add getBehaviorObjects
getBehaviors
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Instances | ||
| Thread safety | Unsafe |
|---|
History 2
- 726 Remove AuroraScriptService
- 686 Add getBehaviors
getBehaviorsForInstance
| Parameters (1) | ||
|---|---|---|
| instance | Instance | |
| Returns (1) | ||
| Instances | ||
| Thread safety | Unsafe |
|---|
History 2
- 726 Remove AuroraScriptService
- 686 Add getBehaviorsForInstance
getInstancesForBehavior
| Parameters (1) | ||
|---|---|---|
| behavior | AuroraScript | |
| Returns (1) | ||
| Instances | ||
| Thread safety | Unsafe |
|---|
History 2
- 726 Remove AuroraScriptService
- 686 Add getInstancesForBehavior