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.

1 comment
remove the "Clicl" from (function(Click) and I am pretty sure you should try script.Parent.Parent:Destroy()