I'm making a game and right now I've made a TextButton of course. For some reason when I click it, it won't fire the print. Even if I hover my mouse over it won't darken as it's supposed to. I've checked my code multiple times for bugs. I've even tried remaking the script and the TextButton. Here's my code in case there are bugs.
local Button = script.Parent.TextButton
Button.MouseButton1Up:Connect(function()
print ("Success so far!")
end)

2 comments
MouseButton1Up fires upon the release of the left-trigger, though it behaves similarly, the actual Signal responsible for click-detection on UI Instances, is MouseButton1Click. Ensure you're using the appropriate script (LocalScript)
Yes I am