Load folder and refactor Lights

This commit is contained in:
2024-04-28 23:09:21 -04:00
parent ff8f3e4915
commit 0fa0e2b8f6
12 changed files with 239 additions and 108 deletions

View File

@@ -4,6 +4,7 @@
local Elevators = script.Parent
local MainDir = Elevators.Parent
local LoadDir = MainDir:WaitForChild("Load")
local Storage: ReplicatedStorage = game:GetService("ReplicatedStorage")
local RS: RunService = game:GetService("RunService")
@@ -20,7 +21,7 @@ local TractionRopes = require(Elevators:WaitForChild("TractionRopes"))
local Lanterns = require(Elevators:WaitForChild("Lanterns"))
local PromptModule = require(MainDir:WaitForChild("Map"):WaitForChild("Prompts"))
local Tags = require(MainDir:WaitForChild("Tags"))
local Tags = require(LoadDir:WaitForChild("Tags"))
type rbxassetid = string