How to make starterpack only work for me?

So pretty much, all I want is to add a tool to starterpack, and then make it only work for me.

So if anyone else joins the game, they won’t get the tool.

The reason I want to do it this way is because if I add a tool directly to the character, it auto-equips the tool and breaks the script etc.

My script basically detects if the PLAYER equips a tool, so I don’t know why it doesn’t detect it when it gets added to the players character.

Do you mean something like this?:

local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
    if player.Name ~= "Player" then
        local backpack = player:WaitForChild("Backpack")
        for _, tool in ipairs(backpack:GetChildren()) do
            if tool:IsA("Tool") then tool:Destroy() end
        end
    end
end)

This code destroys the tool for anyone that is not player, right?

In my case, I would replace “player” with “iDertus7”.

If this is true, i’ll give you the solution :+1:

Yes thats what it does, just replace the Player with your username

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.