I've tried this code
paintBtn.Click:connect(function()
if btnSelected == false then
print("Plugin is now active")
plugin:Activate(true) -- Neccessary to listen to mouse input
gui.BTPaintToolGUI.Visible = true
btnSelected = true
end
if btnSelected == true then
print("Plugin is now inactive")
plugin:Activate(false)
gui.BTPaintToolGUI.Visible = false
btnSelected = false
end
end)
but it dosen't show any results, I click the button and nothing happens, it dosen't show, Output gives me this when i click the button
Plugin is now active
Plugin is now inactive
at the same time. the exact same time. please help.
