i was just wondering if its possible to add and remove tools by touching a part. Its cuz i am making a mini-game game and i want to remove and add tools by touching a part/block.
I am making a mini-game game and i want to add and remove when they spawn (just making an invisible part
To remove tools put this script inside of the part.
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)
If you'd like to add tools on touch use a free model. There's one named create your own giver.