As the title states, It's in a server script and FE is on. I don't know what the problem is, when I try to click the TextButton It doesn't work. If anyone has any knowledge that TextButton doesn't use MouseButton1Click I would love you to reply.
script.Parent.MouseButton1Click:Connect(function(Click) script.Parent.Parent:remove() end)
Thanks.