This script is not turning on the GUI. Where is the error in my script?
debounce = false
script.Parent.Triggered:Connect(function()
if debounce == false then
debounce = true
script.Parent.Parent.Door_Open.Playing = true
game.StarterGui.TransitionFadeGui.Frame.Visible = true
wait(1.5)
script.Parent.Parent.Door_Close.Playing = true
game.StarterGui.TransitionFadeGui.Frame.Visible = false
debounce = false
end
end)
Thanks.
