I need this script to make the Gui disappear if the player clicked somewhere other than the certain area.
local Time = 4
script.Parent.MouseButton1Down:connect(function()
script.Parent.Selected.Visible = true
wait(4)
script.Parent.Selected.Visible = false
end)
script.Parent.MouseButton1Down:connect(function()
wait(0.5)
--[[I am stuck here. I need a way to tell if the Player clicked somewhere else other than script.Parent.Selected.Click (The name of the thing to click), and still let them click other things.]]--

1 comment
please paste entire script