I have a tool remover for the block so that whenever u touch the block, it removes all ur items from ur backpack. Problem is, that it only removes tools that u dont have equipped. If u have a weapon equipped, it wont remove it unless u unequip it. here is the script:
function hit(part)
if hit == nil then return end
h = game.Players:GetPlayerFromCharacter(part.Parent)
if h ~= nil then
c = h.Backpack:GetChildren()
for i=1,#c do
c[i]:remove()
end
end
end
script.Parent.Touched:connect(hit)
pls help i need an answer

4 comments
nope, doesn't work...
maybe make a touch script where it checks if an item is equipped then it removes the item u have equipped?
oh my bad, i didn't read your question fully. Now it should work.
you literally just did what I did