AB = script.Parent.Frame.Settings.Frame.AB.Enable
function Notify()
end
print('Running')
game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(obj)
print('Item added')
if AB.Value == true then
if obj.Name == "HopperBin" then
wait()
if (obj.Parent == script.Parent) then
obj:Destroy()
print("Hopperbin removed")
end
end
end
end)
I literally have no idea why it isn't working.. No errors, no warnings

2 comments
so you're trying to create a function right?
...