[SOLVED] It turned out that a larger transparent image label that was responsible for bars left and right created a transparent area covering the text button. I still do not understand why the text button can detect the entering mouse when it is covered but can not detect a click
MouseEnter and MouseLeave is working perfectly fine but for some reason MouseButton1Click doesnt do anything at all.
local CharID = 1
script.Parent.MouseEnter:Connect(function ()
script.Parent.Parent.CharacterDisplay.ImageColor3 = Color3.fromRGB(152, 152, 152)
end)
script.Parent.MouseLeave:Connect(function ()
script.Parent.Parent.CharacterDisplay.ImageColor3 = Color3.fromRGB(255, 255, 255)
end)
script.Parent.MouseButton1Click:Connect(function ()
game.Workspace.ClientToServer:FireServer(CharID)
end)

2 comments
Are you sure your pc isn't broken?
My PC is working fine and I can click on Text Buttons in my other projects