This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local available_runner_thread = nil | |
| local function acquire_runner_and_call_event_handler(callback, ...) | |
| local acquired_runner = available_runner_thread | |
| available_runner_thread = nil | |
| callback(...) | |
| available_runner_thread = acquired_runner | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local CLASSIC_HEIGHT = 5 | |
| local function getObjectValue(parent: Instance, name: string, default) | |
| local found = parent:FindFirstChild(name) | |
| if found then | |
| return found.Value | |
| end | |
| return default | |
| end |