local ReplicatedStorage = game:GetService("ReplicatedStorage")
local YesOrNo1 = ReplicatedStorage.YesOrNo1
local YesOrNo2 = ReplicatedStorage.YesOrNo2
local DB = false
local AnswerBoard1 = game.Workspace.TextBoard1
local AnswerText1 = AnswerBoard1.SurfaceGui.Answer
local AnswerBoard2 = game.Workspace.TextBoard2
local AnswerText2 = AnswerBoard2.SurfaceGui.Answer
YesOrNo1.Changed:Connect(function()
AnswerText1.Text = YesOrNo1.Value
end)
YesOrNo2.Changed:Connect(function()
AnswerText2.Text = YesOrNo2.Value
end)
And I want to know how to detect when both “YesOrNo1” and “YesOrNo2” both change, like at the moment they are inactive, then the player presses a button which changes one of them, then a separate button that changes the other one. How do I detect when they have both changed?
No, everything is fine, I just have no idea how to know when both of them have changed. Is there a way to know when both functions have gone off, that is what I need.