--!optimize 2 --!native --!strict local ShowEditorEntities = true local Storage = game:GetService("ReplicatedStorage") local _PlayerAdded = require(script:WaitForChild("PlayerAdded")) local Lighting_Stuff = require(script:WaitForChild("Lighting")) local Load = script:WaitForChild("Load") local TagsModule = require(Load:WaitForChild("Tags")) local HideEditorEntities = require(Load:WaitForChild("EditorEntities")) local Workspace_Stuff = require(Load:WaitForChild("Workspace")) local StarterPlayer_Stuff = require(Load:WaitForChild("StarterPlayer")) local Elevators = script:WaitForChild("Elevators") local Maps = script:WaitForChild("Map") local Interactions = Maps:WaitForChild("Interactions") local LightSwitches = require(Interactions:WaitForChild("LightSwitches")) local Otis1960 = require(Elevators:WaitForChild("Otis1960")) local Enums = require(Storage:WaitForChild("Enums")) local TagsConstructor = TagsModule.constructor() print("[DEBUG] Tags=", TagsConstructor.__export) HideEditorEntities.indexAll(ShowEditorEntities) TagsConstructor:Nuke() StarterPlayer_Stuff() Lighting_Stuff() Workspace_Stuff() --Map local Interactables = TagsConstructor:__Interactables() print("[DEBUG] Interactables=", Interactables) --Interactables local LightSwitchesConstructor = LightSwitches.constructor(Interactables.LightSwitches) LightSwitchesConstructor:Init() --Start the elevators local Buttons = TagsConstructor:__ElevatorButtons() print("[DEBUG] Buttons=", Buttons) local Lanterns = TagsConstructor:__ElevatorLanterns() print("[DEBUG] Lanterns=", Lanterns) local LandingDoors = TagsConstructor:__ElevatorDoors() print("[DEBUG] Elevator Landing Doors=", LandingDoors) Otis1960(Buttons[Enums.Elevator.Otis1960], Lanterns[Enums.Elevator.Otis1960], LandingDoors[Enums.Elevator.Otis1960])