mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2026-02-04 02:26:49 +00:00
working state
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
local MapDir = script.Parent
|
||||
local MainDir = MapDir.Parent
|
||||
|
||||
local TagService = require(MainDir:WaitForChild("TagService"))
|
||||
local TagService = require(MainDir:WaitForChild("Tags"))
|
||||
|
||||
type LightCallback = (Player: Player) -> ()
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ local function NewPromptConnection(self: ClassConstructor, PromptSignal: PromptS
|
||||
if self.Prompt then
|
||||
if self.Instance then
|
||||
if self.__PromptConnections[PromptSignalName] and self.__PromptConnections[PromptSignalName].Connected then
|
||||
warn()
|
||||
warn("asd")
|
||||
end
|
||||
|
||||
self.__PromptConnections[PromptSignalName] = PromptSignal:Connect(function(Player: Player)
|
||||
@@ -87,6 +87,7 @@ end
|
||||
function Prompts:AddHookTriggered(Callback)
|
||||
self.__TriggeredCallback = Callback
|
||||
|
||||
--These dont make sense...
|
||||
NewPromptConnection(self, self.Prompt.Triggered, "Triggered")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user