function onPlayerItemClick(mb,bs,el)
if not el then outputChatBox("sdf") return end
if mb == "left" then
if bs == "down" then
if getElementType(el) == "object" then
destroyElement(el)
outputChatBox("test")
end
end
end
end
addEventHandler("onPlayerClick",root,onPlayerItemClick)