Both of my server scripts are inside workspace but one of the scripts is not firing the event
First Script:
local this = script.Parent.Parent local Btns = this.Buttons local Events = this.Events local A1 = function() local PassedValue = Btns.ButtonF1.Floor.Value Events.DoorOpen:Fire(PassedValue) print("Success") end local A2 = function() local PassedValue = Btns.ButtonF2.Floor.Value Events.DoorOpen:Fire(PassedValue) print("Success") end Btns.ButtonF1.ClickDetector.MouseClick:Connect(A1) Btns.ButtonF2.ClickDetector.MouseClick:Connect(A2)
Second Script:
local this = script.Parent.Parent local Btns = this.Buttons local Doors = this.Doors local Events = this.Events local Settings = require(this.Scripts.LiftSettings) local TweenService = game:GetService("TweenService") Events.DoorOpen.Event:Connect(function(passedValue) print("BindableEvent Received!") print("Passed value is: " .. passedValue) print("Success | Doors") Activate(passedValue) end)
MESSAGE ME IF YOU WANT THE FULL SECOND SCRIPT