You are referring to the tool in StarterPack, which is cloned to players backpack when player joins.
Having a while loop like that will cause memory leak and will slow down the server eventually. You don’t need a while loop.
Here is what you should do instead:
game.Players.PlayerAdded:Connect(function(plr)
local function equipTool()
Part.CFrame = CFrame.new(Part.Position, Part2.Position)
end
plr:WaitForChild("Backpack"):WaitForChild("ToolName").Equipped:Connect(equipTool)
end)