How do I make it so a player can ONLY have one tool inside their backpack/character at a time?

I’m trying to make it so a player can obtain ONLY one tool at a time and not multiple, how can I do that?

Check if there is already an existing tool inside their backpack and character model, if it does, destroy that tool and replace it with the next tool.

1 Like

Okay, I’ll try that, I’ll update you if it works.(I’ve tried that before, but I failed a couple times with it.)

This is just a basic way to disable multiple giving.

local Part = script.Parent
local Tool = script.Parent.Tool

    if Hit.Parent:FindFirstChildOfClass("Humanoid") then
        local Player = game.Players:GetPlayerFromCharacter(Tool)
        if Hit.Parent:FindFirstChild(Tool) or Player.Backpack:FindFirstChild(Tool) then
            return end
            local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
            Tool:Clone().Parent = Player.Backpack -- Hit.Parent instead of Player.Backpack to Equip automatically.

Making custom backpack is the best for this issues i think

1 Like

I think I remember making a script something like that a while back, not sure where it is, but I’ll try this out!

1 Like