This is my code:
script.Parent.MouseButton1Click:Connect(function()
print("E")
end
The code is in a textbutton and the textbutton/gui is in a playergui which was cloned from the tool when equipped.
Whenever I try to click the button nothing happens. I checked my output and there is nothing.
Why is nothing happening?

1 comment
Is in a server script