I have TextButtons that were made from Instance.new() that won't detect button.Activated when I save the project as a plugin. However, it will detect button.Activated when I test the project as a StarterGui. I can't seem to find the solution.
Right now, I am testing this code in a LocalScript that won't work.
local button = script.Parent
button.Activated:Connect(function()
print("Test successful!")
end)
And yes, the project is in CoreGui. This is where I am testing from.
