Three or four weeks ago I added gear to my game’s Passes & Gear tab and removed it like one day later. Now unlike other places, players can join my game with whatever gear they want and some of the gears kill other players.
I know that this is a really old post but this would probably work
local player = game.Players.LocalPlayer
local backpack = player:WaitForChild("Backpack")
for _, item in pairs(backpack:GetChildren()) do
if item:IsA("Tool") and item:IsA("Gear") then
item:Destroy()
end
end
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
humanoid.Died:Connect(function()
for _, item in pairs(backpack:GetChildren()) do
if item:IsA("Tool") and item:IsA("Gear") then
item:Destroy()
end
end
end)