Change relay name and relay logic link

This commit is contained in:
2024-05-17 02:27:09 -04:00
parent df5a4d92d0
commit 51ce3d1c98
3 changed files with 8 additions and 3 deletions

View File

@@ -308,6 +308,9 @@ function Elevator.constructor(TagsConstructor, ButtonsTags, LanternsTags, Landin
return ClassConstructor return ClassConstructor
end end
--The Otis relay based call logic
--https://youtu.be/BCN9mQOT3RQ
--Sort the queue based on direction --Sort the queue based on direction
--[[ --[[
Up: { Up: {

View File

@@ -126,8 +126,8 @@ function ButtonsModule:CreatePromptButtons()
local Name = tostring(Split[3]) local Name = tostring(Split[3])
Prompt.Exclusivity = Enum.ProximityPromptExclusivity.OneGlobally --why does this not work... Prompt.Exclusivity = Enum.ProximityPromptExclusivity.OneGlobally --why does this not work...
Prompt.ActionText = `Relay {Name}` Prompt.ActionText = "Activate"
Prompt.ObjectText = "Activate" Prompt.ObjectText = "Relay"
self.Buttons.Relays[`{Split[2]}_{Split[3]}`] = { self.Buttons.Relays[`{Split[2]}_{Split[3]}`] = {
Inst = Inst, Inst = Inst,

View File

@@ -2,7 +2,9 @@
--!native --!native
--!strict --!strict
type TweenAnimation = {[string]: any} type TweenAnimation = {
[string]: any
}
type ClassConstructor = typeof(setmetatable({} :: Constructor_Return_Props, {} :: Impl_Constructor)) type ClassConstructor = typeof(setmetatable({} :: Constructor_Return_Props, {} :: Impl_Constructor))
type Impl_Constructor = { type Impl_Constructor = {