I have a function to open a gui on click but its the same on a different block. so when i click a block the gui opens, but if i click the other block when the gui is open it closes... Help please?
local function Click(player)
player.PlayerGui.ropelength.Frame.Visible = not player.PlayerGui.ropelength.Frame.Visible
end
script.Parent.ClickDetector.mouseClick:Connect(Click)
