Button presses in plugins

I’m trying to make a GUI based plugin but for some reason button presses don’t seem to be registering.

the code that is not working:

gui.Frame.clear.MouseButton1Click:Connect(function()
	print("hmm this doesnt seem to work. but WHYYY")
	gui.Parent = script.Parent
	on = false
	plugin:Disable()
end)
1 Like

ok so turns out that plugins just cant detect presses on image buttons? the current Solution is to just add a text button that covers it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.