basically, i have a script where once the prompt is triggered a tween plays, at the if statement is when it should detect when its triggered, again
the script works until the if statement, as it should be if Open == false and (somehow detect if prompt is triggered then
script.Parent.Triggered:Connect(function()
PanelSlideTween:Play()
Panel["Metal Door Slam"]:Play()
CloseAnim:Play()
PanelSlideTween.Completed:Wait()
Open = false
if Open == false then
Open = true
Panel["Metal Door Slam"]:Play()
PanelSlideTween2:Play()
end
end)
end)
end)