Actions94
- Config Actions
- Engine Actions
- Group Actions
- Accept Group Join Request
- Assign Member Role
- Ban User
- Decline Group Join Request
- Get Group
- Get Group Audit Log
- Get Group Policies
- Get Group Role
- Get Group Settings
- Get Manageable Groups
- Get Pending Groups
- List Group Forum Categories
- List Group Forum Comments
- List Group Forum Posts
- List Group Join Requests
- List Group Memberships
- List Group Roles
- Unassign Member Role
- Unban User
- Update Group Description
- Update Group Membership
- Update Group Notification Preference
- Update Group Settings
- Luau Execution Actions
- Place Actions
- Storage Actions
- Create Data Store Entry
- Create Memory Store Queue Item
- Create Memory Store Sorted Map Item
- Create Ordered Data Store Entry
- Create Scoped Data Store Entry
- Delete Data Store
- Delete Data Store Entry
- Delete Memory Store Sorted Map Item
- Delete Ordered Data Store Entry
- Delete Scoped Data Store Entry
- Discard Memory Store Queue Items
- Flush Memory Store
- Get Data Store Entry
- Get Memory Store Flush Operation
- Get Memory Store Sorted Map Item
- Get Ordered Data Store Entry
- Get Scoped Data Store Entry
- Increment Data Store Entry
- Increment Ordered Data Store Entry
- Increment Scoped Data Store Entry
- List Data Store Entries
- List Data Store Entry Revisions
- List Data Stores
- List Memory Store Sorted Map Items
- List Ordered Data Store Entries
- List Scoped Data Store Entries
- List Scoped Data Store Entry Revisions
- Read Memory Store Queue Items
- Snapshot Data Stores
- Undelete Data Store
- Update Data Store Entry
- Update Memory Store Sorted Map Item
- Update Ordered Data Store Entry
- Update Scoped Data Store Entry
- Team Create Actions
- Universe Actions
- User Actions
Luau Execution → Create Session Task
AI-generatedOverview
This node operation creates a session task to execute a Luau script within the Roblox Cloud environment. It is useful for running custom Luau scripts on a specified Roblox universe and place, optionally with a timeout, binary input, and binary output. This operation is beneficial for developers who want to automate script execution or test scripts programmatically within Roblox's cloud infrastructure.
Use Case Examples
- Automate running a Luau script to update game data in a specific Roblox universe and place.
- Execute a Luau script with a timeout to perform server-side logic and retrieve results, optionally handling binary input and output.
Properties
| Name | Meaning |
|---|---|
| Universe ID | The unique identifier of the Roblox universe where the script will be executed. |
| Place ID | The unique identifier of the Roblox place within the universe where the script will run. |
| Script | The Luau script code to be executed in the session task. |
| Timeout | Optional duration to limit the script execution time, between 1 and 300 seconds. |
| Binary Input | Optional path to a binary input resource to be used by the session task. |
| Enable Binary Output | Flag to indicate whether the task should store binary output for later download. |
Output
Binary
Binary output data stored by the session task if enabled.
JSON
taskId- Identifier of the created session task.status- Current status of the session task.result- Result or output of the executed Luau script.logs- Execution logs related to the session task.
Dependencies
- Roblox Cloud API with an API key credential for authentication.
Troubleshooting
- Ensure Universe ID and Place ID are valid and accessible.
- Verify the Luau script syntax and logic to avoid execution errors.
- Check timeout value is within allowed range (1s to 300s).
- If enabling binary output, confirm sufficient storage and permissions.
- Network or SSL issues may require proxy configuration or ignoring SSL certificate validation.