Well.. I Am Making this lift script and made a separate script where it just checks if a button is activated. The Thing is that my error doesn't show which line it is so I am having a problem what to do. Here is my code.

local this = script.Parent.Parent

local Btns = this.Buttons

local Events = this.Events
function A1()
	Events.DoorOpen:Fire(Btns.ButtonF1.Floor.Value)
	print("Success")
end
function A2()
	Events.DoorOpen:Fire(Btns.ButtonF2.Floor.Value)
	print("Success")
end
Btns.ButtonF1.ClickDetector.MouseClick:Connect(A1)
Btns.ButtonF2.ClickDetector.MouseClick:Connect(A2)

Thanks For Reading.

2 comments

0

If it doesn't show the line, click on it. If can't even during playing, it's a plugin error.

0

No, I Noticed That It said the line after the error so it's not a plugin error. I click the error to find out which line is the problem.